Skip to content

Commit

Permalink
Merge branch 'grarco/test-coverage-visibility'
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Feb 12, 2024
2 parents 5901dcb + 568727e commit b529f7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,10 @@ jobs:
NAMADA_MASP_PARAMS_DIR: /home/runner/.masp-params
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
- name: Upload coverage
uses: actions/upload-artifact@v3
uses: codecov/codecov-action@v3
with:
name: coverage-${{ github.event.pull_request.head.sha || github.sha }}
path: target/html
retention-days: 3
files: lcov.info
fail_ci_if_error: true
- name: Print sccache stats
if: always()
run: sccache --show-stats || true
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ test: test-unit test-e2e test-wasm test-benches
test-coverage:
# Run integration tests separately because they require `integration`
# feature (and without coverage) and run them with pre-built MASP proofs
$(cargo) +$(nightly) llvm-cov --output-dir target \
$(cargo) +$(nightly) llvm-cov --output-path lcov.info \
--features namada/testing \
--html \
--lcov \
-- --skip e2e --skip pos_state_machine_test --skip integration \
-Z unstable-options --report-time && \
NAMADA_MASP_TEST_SEED=$(NAMADA_MASP_TEST_SEED) \
Expand Down

0 comments on commit b529f7b

Please sign in to comment.