Use artifacts to split jobs
This commit is contained in:
parent
cbec032fbc
commit
6de4c120f1
@ -22,6 +22,20 @@ 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
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: cargo-target
|
||||||
|
path: ./target
|
||||||
|
|
||||||
|
code_coverage:
|
||||||
|
name: Code Coverage
|
||||||
|
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: cargo-target
|
||||||
|
path: ./target
|
||||||
- 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