Clean up workflow file
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 57s
Cargo CI / Lint (pull_request) Successful in 42s

This commit is contained in:
Wojciech Kozlowski 2024-01-06 18:32:58 +01:00
parent 842ed8abf7
commit d1eb08c783

View File

@ -7,19 +7,21 @@ on:
branches: [ main ] branches: [ main ]
env: env:
BEETSDIR: ./
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
LLVM_PROFILE_FILE: target/debug/profraw/musichoard-%p-%m.profraw CARGO_TERM_VERBOSE: true
RUSTFLAGS: -C instrument-coverage
jobs: jobs:
build_and_test: build_and_test:
name: Build and Test name: Build and Test
container: docker.io/drrobot/musichoard-ci:rust-1.75 container: docker.io/drrobot/musichoard-ci:rust-1.75
env:
BEETSDIR: ./
LLVM_PROFILE_FILE: target/debug/profraw/musichoard-%p-%m.profraw
RUSTFLAGS: -C instrument-coverage
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: cargo build --verbose --all-features --all-targets - run: cargo build --all-features --all-targets
- run: cargo test --verbose --all-features --all-targets --no-fail-fast - run: cargo test --all-features --all-targets --no-fail-fast
- run: >- - run: >-
grcov target/debug/profraw grcov target/debug/profraw
--binary-path ./target/debug/ --binary-path ./target/debug/
@ -41,5 +43,5 @@ jobs:
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
- run: cargo clippy --verbose --all-features --all-targets -- -D warnings - run: cargo clippy --all-features --all-targets -- -D warnings
- run: cargo fmt --verbose -- --check - run: cargo fmt -- --check