test results in xml #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on PR and push to master | |
on: | |
pull_request: | |
branches: | |
- test_results | |
push: | |
branches: | |
- test_results | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- run: ./test.sh | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() # run this step even if the previous step failed | |
with: | |
name: Tests | |
path: test/environment/test-report.xml | |
reporter: jest-junit |