Skip to content

Commit

Permalink
CI: Add explicite collections contract build to the coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
ueco-jb committed Sep 5, 2024
1 parent 04f802e commit 3cc9449
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown
override: true
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
# Explicitly build the collections contract first
- name: Build Collections Contract
run: make build
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 3cc9449

Please sign in to comment.