Skip to content

Commit

Permalink
cicd: fail if tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardopinosio committed Mar 25, 2024
1 parent 276a739 commit 5fed2f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: '/build/testTarget/unit/unit.xml'
report_paths: './testTarget/unit/*.xml'
fail_on_failure: true
require_test: true
release:
name: Release
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ jobs:
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: './testTarget/unit/*.xml'
report_paths: './testTarget/unit/*.xml'
fail_on_failure: true
require_test: true

0 comments on commit 5fed2f4

Please sign in to comment.