From a472f22f41d277a1549f37a60d90ae027f160a6e Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 18 Apr 2024 09:40:34 +0800 Subject: [PATCH] acc tests are working --- .github/workflows/ci-cd.yml | 2 +- pom.xml | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) 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