1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Upload and process test results as an artifact and report (#4435)

This commit is contained in:
Matt Bishop
2023-01-11 09:01:02 -05:00
committed by GitHub
parent 2b67563868
commit 4be2989fec
5 changed files with 55 additions and 5 deletions

View File

@@ -53,8 +53,16 @@ jobs:
done
- name: Run tests
run: |
npm run test
run: npm run test
- name: Report test results
uses: dorny/test-reporter@c9b3d0e2bd2a4e96aaf424dbaa31c46b42318226
if: always()
with:
name: Test Results
path: "junit.xml"
reporter: jest-junit
fail-on-error: true
rust:
name: rust - ${{ matrix.os }}
@@ -102,6 +110,4 @@ jobs:
- name: Test Windows / macOS
if: ${{ matrix.os!='ubuntu-latest' }}
working-directory: ./apps/desktop/desktop_native
run: |
cargo test -- --test-threads=1
run: cargo test -- --test-threads=1