Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add coverage report for ci #172

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8ab3b7b
add coverage report for ci
Raid5594 Nov 28, 2023
9dcb095
add tarapulin using github actions
Raid5594 Nov 28, 2023
893e330
quick fix
Raid5594 Nov 28, 2023
2225a72
update runner machine
Raid5594 Nov 29, 2023
5753e17
Merge branch 'dev' into feature/tarpaulin-coverage
rakanalh Nov 29, 2023
4fc9cb3
Merge branch 'dev' into feature/tarpaulin-coverage
aie0 Nov 30, 2023
2a6765f
change xlarge nodes to large
Raid5594 Dec 1, 2023
943895d
fix error in check.yaml
Raid5594 Dec 4, 2023
8b56a47
fix actions version in check.yaml
Raid5594 Dec 4, 2023
ce1b9db
add apt update
Raid5594 Dec 4, 2023
f5b34b2
install rust
Raid5594 Dec 4, 2023
acdf5c4
install rustup
Raid5594 Dec 4, 2023
04f22b7
update rustup setup
Raid5594 Dec 4, 2023
f1ca49b
update rustup setup
Raid5594 Dec 4, 2023
9b6af5c
update rustup setup
Raid5594 Dec 4, 2023
9475908
update rustup setup
Raid5594 Dec 4, 2023
4ac8b72
update rustup setup
Raid5594 Dec 4, 2023
c63bbc3
update rustup setup
Raid5594 Dec 4, 2023
1e8a940
update rustup setup
Raid5594 Dec 4, 2023
647a69a
update rustup setup
Raid5594 Dec 4, 2023
2d6fd7d
Merge branch 'dev' into feature/tarpaulin-coverage
aie0 Dec 4, 2023
46c3975
update rustup setup
Raid5594 Dec 4, 2023
e461761
Merge branch 'dev' into feature/tarpaulin-coverage
aie0 Dec 4, 2023
921bc2a
Remove is_some_and
rakanalh Dec 5, 2023
0abd5e7
Update tarpaulin version
rakanalh Dec 5, 2023
3a3e1db
Use nightly
rakanalh Dec 5, 2023
71c9c77
Restore removed annotations and use rust-toolchain config in root
rakanalh Dec 5, 2023
a6c0c88
Fix tarpaulin version
rakanalh Dec 5, 2023
329e755
install nightly
Raid5594 Dec 5, 2023
af7199e
Specific nightly build
rakanalh Dec 5, 2023
9d135b3
Test installing toolchain through an action
rakanalh Dec 5, 2023
0498532
Restore removed parts
rakanalh Dec 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown

- name: Install Tarpaulin
run: |
cargo install cargo-tarpaulin
aie0 marked this conversation as resolved.
Show resolved Hide resolved

- name: Check TOML
uses: dprint/[email protected]

Expand All @@ -50,3 +54,13 @@ jobs:
run: >
pushd node &&
cargo check --features=runtime-benchmarks --release

- name: Run Coverage
run: |
cargo tarpaulin --verbose --locked --no-fail-fast --workspace --features runtime-benchmarks --out "Xml"

- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: tarpaulin coverage
path: ./tarpaulin-report.xml
Loading