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

Code coverage suite (rebased #848 with workspace restructure) #1008

Draft
wants to merge 54 commits into
base: devnet-ready
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e47758c
fix typo
sam0x17 Sep 26, 2024
aaa36ee
code coverage WIP
sam0x17 Sep 28, 2024
3bfd61f
coverage metadata scaffold
sam0x17 Sep 30, 2024
2f63238
set up deps
sam0x17 Sep 30, 2024
f79841d
basic parsing
sam0x17 Sep 30, 2024
336c909
pallet visitor
sam0x17 Oct 1, 2024
d0577c2
PalletVisitor :boom:
sam0x17 Oct 1, 2024
85ede43
tweak mutability
sam0x17 Oct 1, 2024
0401c54
almost
sam0x17 Oct 1, 2024
0c5f123
procedural-fork tests properly ignored
sam0x17 Oct 1, 2024
1c234dd
revert
sam0x17 Oct 1, 2024
e30b4d4
modify update.sh to append proper ignores to each file
sam0x17 Oct 1, 2024
5b2a027
detection of platform-specific sed behavior
sam0x17 Oct 1, 2024
76a270b
in script: remove all `#[cfg(test)]` lines from `pallet/parse/mod.rs`
sam0x17 Oct 1, 2024
1d6ad26
add update.sh section to add #[ignore] to all #[test]
sam0x17 Oct 1, 2024
99b73f2
don't prepend `#[ignore]` to top of each file
sam0x17 Oct 1, 2024
3fe30d4
fix
sam0x17 Oct 1, 2024
61b54f8
successfully identifying pallets
sam0x17 Oct 1, 2024
9be2028
increase verbosity while we debug subtensor pallet
sam0x17 Oct 1, 2024
c1e8a25
tweak
sam0x17 Oct 1, 2024
43e343b
document a path forward for resolving #[import_section(..)]
sam0x17 Oct 2, 2024
de3d6c1
works in principle!
sam0x17 Oct 2, 2024
21addb2
clean up
sam0x17 Oct 2, 2024
ac0665a
parallelize pallet section searching
sam0x17 Oct 2, 2024
e741001
cleaned up parsing :tada:
sam0x17 Oct 2, 2024
a5947e9
fix
sam0x17 Oct 2, 2024
4e6f936
correct comment
sam0x17 Oct 3, 2024
74c7d2b
refactor
sam0x17 Oct 3, 2024
1d24ac7
clean up significantly
sam0x17 Oct 4, 2024
0323bdc
collect method calls
sam0x17 Oct 4, 2024
a53a514
no need to hard-code `macros` directory
sam0x17 Oct 4, 2024
3f7181c
WIP
sam0x17 Oct 4, 2024
f670afd
use a proper map-reduce for analyze_files
sam0x17 Oct 7, 2024
9da4b27
find_tests scaffold
sam0x17 Oct 7, 2024
d8e57c3
accumulate list of tests in parallel
sam0x17 Oct 7, 2024
ab96aa9
collect TestInfo
sam0x17 Oct 7, 2024
558bb5b
compiling report, still optimizing
sam0x17 Oct 7, 2024
6181332
preliminary coverage report working :tada:
sam0x17 Oct 7, 2024
42de7d9
clippy fixes
sam0x17 Oct 9, 2024
8fc371e
cargo fmt
sam0x17 Oct 9, 2024
08aa11d
Upgrade benchmarking v1 syntax to v2
keithtensor Oct 10, 2024
1003400
Disallow V1 benchmarks syntax
keithtensor Oct 11, 2024
f3f7caf
Collect benchmarks and mark cals inside of them as tested
keithtensor Oct 17, 2024
cc10b56
cargo fmt
keithtensor Oct 17, 2024
fa9e94d
Restructure workspace
ales-otf Nov 20, 2024
2c05a02
Make code-coverage an executable
ales-otf Nov 22, 2024
320b3be
Add rerun linter condition for runtime and node
ales-otf Nov 22, 2024
e033214
Reformat
ales-otf Nov 25, 2024
ad8d08a
Remove code-coverage feature
ales-otf Nov 25, 2024
02a9c0b
Satisfy linter
ales-otf Nov 25, 2024
c785b69
Fix compilation
ales-otf Nov 26, 2024
9d87b77
Reformat
ales-otf Nov 26, 2024
cdb954d
Fix procedural-fork test failure
ales-otf Dec 2, 2024
c7fd659
Fix runtime compilation
ales-otf Dec 3, 2024
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
95 changes: 25 additions & 70 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading