Skip to content

Commit

Permalink
Add Tests to CodeCov
Browse files Browse the repository at this point in the history
  • Loading branch information
djnovin committed Oct 9, 2024
1 parent c5a4822 commit 8ce23c0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Run Tests
run: cargo test --all -- --test-threads=1 | tee test-report.json
run: cargo test --all -- --test-threads=1 | tee junit.xml

- name: Upload Test Report
uses: actions/upload-artifact@v4
with:
name: test-report
path: ./test-report.json
path: ./junit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

audit:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8ce23c0

Please sign in to comment.