File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 5151 - uses : taiki-e/install-action@nextest
5252 - run : cargo run --bin forest-dev --no-default-features --profile quick -- fetch-rpc-tests
5353 - name : Generate code coverage
54- run : |
55- cargo llvm-cov --workspace --profile quick --codecov --output-path lcov.info test
54+ run : make codecov
5655 env :
57- CC : " sccache clang"
58- CXX : " sccache clang++"
5956 # To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
6057 RUSTFLAGS : " -C linker=clang -C link-arg=-fuse-ld=lld"
6158 # Save lcov.info as an artifact for debugging purposes
Original file line number Diff line number Diff line change 5252 - name : install nextest
5353 uses : taiki-e/install-action@nextest
5454 - run : make test
55+ env :
56+ # Skip RPC snapshot tests for debug build
57+ FOREST_RPC_SNAPSHOT_TEST_OPT_OUT : 1
5558 tests-release :
5659 runs-on : ubuntu-24.04-arm
5760 # Run the job only if the PR is not a draft.
Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ docker-run:
9999 docker build -t forest:latest -f ./Dockerfile . && docker run forest
100100
101101test :
102- # Skip RPC snapshot tests for debug build
103- export FOREST_RPC_SNAPSHOT_TEST_OPT_OUT=1
104102 cargo nextest run --workspace --no-fail-fast
105103
106104 # nextest doesn't run doctests https://github.com/nextest-rs/nextest/issues/16
@@ -112,6 +110,9 @@ test-release:
112110
113111test-all : test test-release
114112
113+ codecov :
114+ cargo llvm-cov --workspace --profile quick --codecov --output-path lcov.info test
115+
115116# Checks if all headers are present and adds if not
116117license :
117118 ./scripts/add_license.sh
You can’t perform that action at this time.
0 commit comments