Fix multiline commands
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s

This commit is contained in:
Wojciech Kozlowski 2024-01-06 19:15:40 +01:00
parent 06e82e979a
commit 887c613cf8

View File

@ -22,11 +22,21 @@ 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: grcov target/debug/profraw --binary-path target/debug/ --output-types html --source-dir . --ignore-not-existing --ignore "tests/*" --ignore "src/main.rs" --excl-start "GRCOV_EXCL_START|mod tests \{" --excl-stop "GRCOV_EXCL_STOP" --output-path ./target/debug/coverage/ - run: >-
grcov target/debug/profraw
--binary-path target/debug/
--output-types html
--source-dir .
--ignore-not-existing
--ignore "tests/*"
--ignore "src/main.rs"
--excl-start "GRCOV_EXCL_START|mod tests \{"
--excl-stop "GRCOV_EXCL_STOP"
--output-path ./target/debug/coverage/
- run: >- - run: >-
python3 .gitea/scripts/coverage.py python3 .gitea/scripts/coverage.py
--coverage-file ./target/debug/coverage/coverage.json --coverage-file ./target/debug/coverage/coverage.json
--fail-under 100.00 --fail-under 100.00
lint: lint:
name: Lint name: Lint