Skip to content

Commit

Permalink
feat(ci): skip duplicate reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Dec 8, 2023
1 parent 4f4e15f commit d575f31
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,27 @@ jobs:
run: |
mvn test -Dtest="CucumberUnitTest" -Dsurefire.failIfNoSpecifiedTests=false
- name: πŸ§ͺ Integration Tests
run: |
mvn test -Dtest="CucumberIntegrationTest" -Dsurefire.failIfNoSpecifiedTests=false
- name: πŸ” Check for duplicate reports
id: skip
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: "always"

- name: πŸ“‹ Unit Test Report
uses: phoenix-actions/test-reporting@v8
if: success() || failure()
if: steps.skip.should_skip != 'true' && (success() || failure())
with:
name: πŸ“‹ Unit Test Report
reporter: java-junit
path: "**/*CucumberUnitTest.xml"

- name: πŸ§ͺ Integration Tests
run: |
mvn test -Dtest="CucumberIntegrationTest" -Dsurefire.failIfNoSpecifiedTests=false
- name: πŸ“‹ Integration Test Report
uses: phoenix-actions/test-reporting@v8
if: success() || failure()
if: steps.skip.should_skip != 'true' && (success() || failure())
with:
name: πŸ“‹ Integration Test Report
reporter: java-junit
Expand Down

0 comments on commit d575f31

Please sign in to comment.