Skip to content

Commit

Permalink
fix: attempt to repair Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Mar 30, 2022
1 parent 0eff1a7 commit cf1d598
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ jobs:
with:
submodules: recursive

- name: Install Rust toolchain
- name: Install Rust toolchain stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
override: true

Expand All @@ -95,9 +94,17 @@ jobs:
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: RUSTC_BOOTSTRAP=1 cargo install grcov

- name: Install Rust toolchain nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-03-28
profile: minimal
components: llvm-tools-preview
override: true

- name: Unit Tests
env:
RUSTFLAGS: "-Cinstrument-coverage"
RUSTFLAGS: "-Zinstrument-coverage"
LLVM_PROFILE_FILE: "clarinet-%p-%m.profraw"
run: cargo build --locked && cargo test

Expand Down

0 comments on commit cf1d598

Please sign in to comment.