Skip to content

Commit

Permalink
acc tests are working
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Apr 18, 2024
1 parent 116a81b commit a472f22
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
with:
resource: http://localhost:8080/v1/metadata/graphql?query={metaData(fileId:%221%22){fileName}}
- name: Run acceptance tests
run: mvn clean verify
run: mvn clean verify -P acceptance-test

documentation:
name: Test Documentation Build & Deploy Documentation to GitHub Pages
Expand Down
30 changes: 29 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@
</systemPropertyVariables>
<includes>
<include>%regex[.*Spec.*]</include>
<include>**/RunCucumberTest*.java</include>
</includes>
<excludes>
<exclude>%regex[.*ITSpec.*]</exclude>
Expand Down Expand Up @@ -669,6 +668,35 @@
</reporting>

<profiles>
<profile>
<id>acceptance-test</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven.surefire.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<includes>
<include>%regex[.*Spec.*]</include>
<include>**/RunCucumberTest*.java</include>
</includes>
<excludes>
<exclude>%regex[.*ITSpec.*]</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${version.maven.surefire.report.plugin}</version>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
Expand Down

0 comments on commit a472f22

Please sign in to comment.