Skip to content

Commit

Permalink
feat: reintroduce codecov reports
Browse files Browse the repository at this point in the history
uses oidc instead of token
  • Loading branch information
YeungOnion committed May 15, 2024
1 parent cfdf905 commit f594e65
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
push:
branches: [ master ]
branches: [ master, test-ci ]
pull_request:
branches: [ master ]

Expand Down Expand Up @@ -36,4 +36,16 @@ jobs:
cargo test --target ${{ matrix.target }} --benches --features=nightly
- name: Test default features
run: |
cargo test --target ${{ matrix.target }}
cargo test --target ${{ matrix.target }}
codecov:
name: CodeCov Report
needs: [ test ]
steps:
- uses: actions/checkout@main
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
files: ./coverage1.xml,./coverage2.xml # optional
flags: unittests # optional
name: codecov-umbrella # optional
use_oidc: true

0 comments on commit f594e65

Please sign in to comment.