Fix tanssi on main (#393)

* fix the tanssi build & tests

* fix fmt

* update features for coverage

* cleanup on coverage due runner out of space

* a bit more tests to pass the codecov check

* fix fmt
This commit is contained in:
Nikita Khateev
2024-12-30 14:13:55 +04:00
committed by GitHub
parent 9158633607
commit 43508d999f
10 changed files with 88 additions and 22 deletions
+4 -2
View File
@@ -84,12 +84,14 @@ jobs:
run: |
ls -l
cd generic-template/runtime
cargo llvm-cov --all-features --ignore-filename-regex ".*(weights|benchmark).*" --codecov --output-path lcov.info
cargo llvm-cov --features="runtime-benchmarks" --ignore-filename-regex ".*(weights|benchmark).*" --codecov --output-path lcov.info
cargo clean
- name: Generate EVM runtime coverage
run: |
cd evm-template/runtime
cargo llvm-cov --all-features --ignore-filename-regex ".*(weights|benchmark).*" --codecov --output-path lcov.info
cargo llvm-cov --features="runtime-benchmarks" --ignore-filename-regex ".*(weights|benchmark).*" --codecov --output-path lcov.info
cargo clean
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3