diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index af0ab860b..03b6ae92b 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 diff --git a/pom.xml b/pom.xml index 7d8dc78f7..2b1a7ad03 100644 --- a/pom.xml +++ b/pom.xml @@ -517,7 +517,6 @@ %regex[.*Spec.*] - **/RunCucumberTest*.java %regex[.*ITSpec.*] @@ -669,6 +668,35 @@ + + acceptance-test + + + + org.apache.maven.plugins + maven-surefire-plugin + ${version.maven.surefire.plugin} + + + true + + + %regex[.*Spec.*] + **/RunCucumberTest*.java + + + %regex[.*ITSpec.*] + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + ${version.maven.surefire.report.plugin} + + + + release