Update coverage.yml

This commit is contained in:
Jamie Hardt
2023-06-04 23:04:35 -07:00
committed by GitHub
parent d7803ba5ae
commit afa3e24f49

View File

@@ -16,6 +16,12 @@ jobs:
- uses: actions/checkout@v2
- name: Create Test Media
run: cd tests; sh create_test_media.sh
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
env:
RUSTFLAGS: "-C instrument-coverage"
- name: rust-grcov
# You may pin to the exact commit or the version.
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
@@ -23,12 +29,6 @@ jobs:
# with:
# Path to the configuration file (optional, relative to the repository root)
# config: # optional, default is .github/actions-rs/grcov.yml
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
env:
RUSTFLAGS: "-C instrument-coverage"
- name: Codecov
uses: codecov/codecov-action@v3.1.4