mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-02 01:40:45 +00:00
Update coverage.yml
This commit is contained in:
12
.github/workflows/coverage.yml
vendored
12
.github/workflows/coverage.yml
vendored
@@ -16,6 +16,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Create Test Media
|
- name: Create Test Media
|
||||||
run: cd tests; sh create_test_media.sh
|
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
|
- name: rust-grcov
|
||||||
# You may pin to the exact commit or the version.
|
# You may pin to the exact commit or the version.
|
||||||
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
|
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
|
||||||
@@ -23,12 +29,6 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# Path to the configuration file (optional, relative to the repository root)
|
# Path to the configuration file (optional, relative to the repository root)
|
||||||
# config: # optional, default is .github/actions-rs/grcov.yml
|
# 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
|
- name: Codecov
|
||||||
uses: codecov/codecov-action@v3.1.4
|
uses: codecov/codecov-action@v3.1.4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user