Skip to content

Commit

Permalink
ci: add junit reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady committed Dec 21, 2024
1 parent 7de6a0a commit 614d13c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ jobs:

- name: run test
run: opam exec -- dune runtest

- name: junit report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Test Report
path: "_build/default/alcotest/test/*.xml,_build/default/junit/test/*.xml"
reporter: java-junit
fail-on-error: true
fail-on-empty: true # Use an empty test report to detect when something failed with the test runner

0 comments on commit 614d13c

Please sign in to comment.