Skip to content

Commit

Permalink
Export bats reports with junit format
Browse files Browse the repository at this point in the history
  • Loading branch information
Stealthii committed Apr 17, 2024
1 parent 8c647e1 commit b41c9ce
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/bats-multi-bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ jobs:
uses: actions/checkout@v4

- name: Run tokyo-night-tmux tests
run: bats --verbose-run test/
run: bats --verbose-run --report-formatter junit test/

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: "report.xml"
bats-macos:
runs-on: macos-latest
strategy:
Expand All @@ -59,4 +65,10 @@ jobs:
uses: actions/checkout@v4

- name: Run tokyo-night-tmux tests
run: bats --verbose-run test/
run: bats --verbose-run --report-formatter junit test/

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: "report.xml"

0 comments on commit b41c9ce

Please sign in to comment.