Archive artifacts
This commit is contained in:
parent
6de4c120f1
commit
18616c64a2
@ -22,20 +22,23 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo build --all-features --all-targets
|
- run: cargo build --all-features --all-targets
|
||||||
- run: cargo test --all-features --all-targets --no-fail-fast
|
- run: cargo test --all-features --all-targets --no-fail-fast
|
||||||
|
- run: tar -cvf target.tar target/
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: cargo-target
|
name: cargo-target
|
||||||
path: ./target
|
path: target.tar
|
||||||
|
|
||||||
code_coverage:
|
code_coverage:
|
||||||
name: Code Coverage
|
name: Code Coverage
|
||||||
|
needs: build_and_test
|
||||||
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: cargo-target
|
name: cargo-target
|
||||||
path: ./target
|
path: target.tar
|
||||||
|
- run: tar -xvf target.tar
|
||||||
- run: >-
|
- run: >-
|
||||||
grcov target/debug/profraw
|
grcov target/debug/profraw
|
||||||
--binary-path target/debug/
|
--binary-path target/debug/
|
||||||
|
Loading…
Reference in New Issue
Block a user