Skip to content

Commit

Permalink
fix: Update grcov installation and build/test commands (#1907)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is to move grcov to the `stable` channel.

# How to Test
- Read through changes and validate.
- [x] CI passed `Code Coverage` test [when a .rs file was edited]
https://github.com/LibertyDSNP/frequency/actions/runs/8148373324/job/22271097267

# Discussion
<!-- List discussion items -->

# Checklist
- [ ] Chain spec updated
- [ ] Custom RPC OR Runtime API added/changed? Updated js/api-augment.
- [ ] Design doc(s) updated
- [ ] Tests added
- [ ] Benchmarks added
- [ ] Weights updated

---------

Co-authored-by: Matthew Orris <--help>
  • Loading branch information
mattheworris authored Mar 5, 2024
1 parent 2843971 commit 8e4bdb2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/common/codecov/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ runs:
steps:
- name: Install grcov
shell: bash
run: cargo +nightly-2024-03-01 install --locked grcov
run: cargo install --locked grcov
- name: Build
shell: bash # Limited to 10 threads max
run: cargo +nightly-2024-03-01 build -j 10 --features frequency-lint-check
run: cargo build -j 10 --features frequency-lint-check
env:
RUSTC_BOOTSTRAP: 1
CARGO_INCREMENTAL: '0'
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTDOCFLAGS: "-Cpanic=abort"
- name: Test
shell: bash # Limited to 10 threads max
run: cargo +nightly-2024-03-01 test -j 10 --features frequency-lint-check
run: cargo test -j 10 --features frequency-lint-check
env:
RUSTC_BOOTSTRAP: 1
CARGO_INCREMENTAL: '0'
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTDOCFLAGS: "-Cpanic=abort"
Expand Down

0 comments on commit 8e4bdb2

Please sign in to comment.