From 887c613cf80a780f82f320af787caf6886003809 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 6 Jan 2024 19:15:40 +0100 Subject: [PATCH] Fix multiline commands --- .gitea/workflows/gitea-ci.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index a69e4f1..72c9002 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -22,11 +22,21 @@ jobs: - uses: actions/checkout@v3 - run: cargo build --all-features --all-targets - 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: >- python3 .gitea/scripts/coverage.py - --coverage-file ./target/debug/coverage/coverage.json - --fail-under 100.00 + --coverage-file ./target/debug/coverage/coverage.json + --fail-under 100.00 lint: name: Lint