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 codecoverage / codecov integration #199

Closed
wants to merge 71 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
d1d6226
coverage
Jun 10, 2023
59cd903
pass 2
Jun 10, 2023
d49dd6c
pass 3
Jun 10, 2023
a6fd435
pass4
Jun 10, 2023
186ae2e
pass5
Jun 10, 2023
588f36b
pass 6
Jun 10, 2023
44e77c4
pass7
Jun 10, 2023
cee9dbb
remove key
Jun 10, 2023
00373ce
add windows fix
Jun 10, 2023
3f349a7
copy names from kaspad.go
Jun 10, 2023
9ceb72f
make name less verbose
Jun 10, 2023
b9d5817
copy codecov.yaml from go-kaspad.
Jun 10, 2023
45fc9ec
no need to ignore .pb files.
Jun 10, 2023
c0c74eb
Merge branch 'master' into code-coverage
D-Stacks Jun 11, 2023
a9bbfc7
Merge branch 'code-coverage' of https://github.com/D-Stacks/rusty-kas…
Jun 11, 2023
bc67715
Merge branch 'master' of https://github.com/kaspanet/rusty-kaspa into…
Jun 23, 2023
1e52830
Merge branch 'master' of https://github.com/kaspanet/rusty-kaspa into…
Jul 19, 2023
10fe5d3
ignore flaky test during code cov, & add comment.
Jul 19, 2023
fadf2e6
fix lints
Jul 19, 2023
5251068
skip test via --skip instead
Jul 19, 2023
39941aa
revert back to no solution
Jul 19, 2023
62d4cb1
try with feature in lib.rs
Jul 20, 2023
1587010
Merge branch 'master' of https://github.com/kaspanet/rusty-kaspa into…
Jul 20, 2023
ec335d0
fix comment
Jul 20, 2023
230934f
Merge branch 'master' into code-coverage
D-Stacks Aug 6, 2023
ac7e496
Merge remote-tracking branch 'upstream/master' into code-coverage
Faten848 Dec 22, 2023
fb1f687
change to new format
Faten848 Dec 22, 2023
3c7e623
try fix something
Faten848 Dec 22, 2023
8188b43
rebuild cargo,lock
Faten848 Dec 22, 2023
ddfafb6
try again
Faten848 Dec 22, 2023
701ad25
update
Faten848 Dec 22, 2023
fa18811
use only once
Faten848 Dec 22, 2023
30fac16
make step 3. of linux installation not fail copy and paste (#363)
D-Stacks Dec 26, 2023
65bb6aa
Cumulative PR for Wallet & Metrics Refactoring (#360)
aspect Dec 26, 2023
1d51e00
Move to mimalloc (#361)
someone235 Dec 26, 2023
42ce688
Add headers first validation to simpa (#364)
someone235 Dec 26, 2023
00c2f54
Minor wallet framework updates (#367)
aspect Dec 27, 2023
2856df6
Bounding node RAM -- implementing a cache policy which tracks dynamic…
michaelsutton Dec 28, 2023
1305638
Adds missing logs and other minor convenient additions (#362)
michaelsutton Dec 28, 2023
d0eec52
fixed parse failure for subdomains on parse_host function (#369)
elertan Dec 28, 2023
2082253
Fix Rust 1.75 warnings (#372)
michaelsutton Dec 31, 2023
6d93644
Optimized Rothschild performance on high TPS (#371)
coderofstuff Jan 3, 2024
8cd1f0c
Orphans improvements part 2 (#373)
michaelsutton Jan 3, 2024
b4e9ac0
Add a RAM usage scale factor configurable from the command line (#374)
michaelsutton Jan 4, 2024
e0da96e
check_subscription_before_vccn (#375)
D-Stacks Jan 4, 2024
36b5149
Add a pruning exit point on advance_pruning_utxoset (#378)
someone235 Jan 7, 2024
f745255
Add timestamps to IBD progress (#376)
someone235 Jan 7, 2024
105fa53
Implement basic tx throttling on high P2P load (#377)
coderofstuff Jan 7, 2024
7e94778
Implement Storage Mass KIP and apply to TN11 (#379)
michaelsutton Jan 7, 2024
f637952
Add curl and git as general linux build prerequisites (#370)
supertypo Jan 7, 2024
76dfd49
Update testnet11.md (#380)
someone235 Jan 7, 2024
fae2958
Update testnet11.md (#381)
ShaiW Jan 7, 2024
d3302ef
Fix timestamp deviation tolerance for 10 bps (#383)
michaelsutton Jan 7, 2024
6b42d98
Fix sub overflow panic on txrelay flow time check (#385)
coderofstuff Jan 11, 2024
333f939
Implement "nogrpc" flag and change default rpc listen ip (#387)
coderofstuff Jan 11, 2024
c176177
Convert settings to global consts and fix TN11 conbase maturity times…
aspect Jan 15, 2024
0f95a66
Fix an overflow during balance calculation when waiting for compound …
aspect Jan 15, 2024
72e5229
Update port handling in wRPC URL parser (#391)
aspect Jan 15, 2024
c5364b0
Remove mimalloc override feature for macos (#388)
coderofstuff Jan 15, 2024
98e7302
Refactor wallet event handling (#395)
aspect Jan 17, 2024
db3ea5c
Update workflow-rs to 0.10.3 and fix JS data encryption bindings (#396)
aspect Jan 17, 2024
2430946
TX Throttled Relay refactors (#389)
coderofstuff Jan 17, 2024
863afee
Feat/indexed db transaction store (#392)
elertan Jan 18, 2024
f204e0a
fix #330 (#397)
TheAlan404 Jan 18, 2024
a7264d3
Add "last known good" cache for virtual state (#399)
michaelsutton Jan 21, 2024
4b46db4
updates to indexdb functionality (#403)
aspect Jan 23, 2024
bba9a2c
Cargo.toml update for 0.13.4 release (#404)
aspect Jan 23, 2024
7fa6bb3
Wallet subsystem transaction generator updates (#400)
aspect Jan 23, 2024
860feba
Misc rustdoc updates (#405)
aspect Jan 23, 2024
77e94a4
Fix yield duration of readers-preferred rwlock (#406)
michaelsutton Jan 23, 2024
64a033e
remove redundant files. (#365)
D-Stacks Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,3 +367,45 @@ jobs:
run: |
cargo install cargo-zigbuild
cargo --verbose zigbuild --bin kaspad --bin simpa --bin rothschild --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version

coverage:
runs-on: ubuntu-latest
name: Produce Codecov
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Fix CRLF on Windows
if: runner.os == 'Windows'
run: git config --global core.autocrlf false

- name: Install protoc
run: |
sudo apt update -y
sudo apt install -y protobuf-compiler

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Generate codecov.json
run: cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json

- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
files: codecov.json
fail_ci_if_error: true
Loading