Skip to content

Commit

Permalink
add evm, add flags
Browse files Browse the repository at this point in the history
  • Loading branch information
KitHat committed Dec 23, 2024
1 parent db8ecf0 commit 08f98f0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/evm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,20 @@ jobs:
env:
RUSTDOCFLAGS: "-D rustdoc::broken-intra-doc-links -D rustdoc::private_intra_doc_links"

# Will enable the below back again once we tackle #260
# FIXME: Calculate coverage and define how to upload all template coverage reports
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: "Install nextest"
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov

- name: Generate coverage
run: |
cd runtime
cargo llvm-cov --all-features --ignore-filename-regex ".*(weights|benchmark).*" --codecov --output-path lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: runtime/lcov.info
flags: evm
fail_ci_if_error: true
1 change: 1 addition & 0 deletions .github/workflows/generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,5 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: runtime/lcov.info
flags: generic
fail_ci_if_error: true

0 comments on commit 08f98f0

Please sign in to comment.