Skip to content

Commit

Permalink
rebase me
Browse files Browse the repository at this point in the history
  • Loading branch information
george-cosma committed Jul 22, 2024
1 parent e3b113c commit fa2203d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pages_coverage_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ jobs:
- uses: actions/checkout@v4
# -=-=-=-= Coverage test (if labeled) =-=-=-=-
- name: Install coverage test tooling
if: contains(github.event.pull_request.labels.*.name, 'coverage')
if: |
(github.event.action == 'labeled' && github.event.label.name == 'coverage') ||
(github.event.action != 'labeled' && github.event.action != 'unlabeled' && contains(github.event.pull_request.labels.*.name, 'coverage'))
run: |
rustup toolchain install nightly &&
rustup component add llvm-tools-preview &&
cargo install cargo-binutils
- name: Run & compile coverage test
if: contains(github.event.pull_request.labels.*.name, 'coverage')
if: |
(github.event.action == 'labeled' && github.event.label.name == 'coverage') ||
(github.event.action != 'labeled' && github.event.action != 'unlabeled' && contains(github.event.pull_request.labels.*.name, 'coverage'))
run: |
cargo clean &&
RUSTFLAGS="-C instrument-coverage -Z coverage-options=branch,mcdc" cargo +nightly test --tests --no-run &&
Expand Down

0 comments on commit fa2203d

Please sign in to comment.