Feature/upgrade lumos #1644
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coverage-test | |
on: ["push", "pull_request"] | |
jobs: | |
code-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: "recursive" | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: install-tarpaulin | |
run: cargo install cargo-tarpaulin -f --version 0.19.0 | |
- name: run coverage test | |
run: | | |
export CODECOV_TOKEN=${{secrets.CODECOV_TOKEN}} | |
cd ckb-contracts && bash ckb_script_coverage.sh | |
cd .. | |
cd eth-contracts && yarn install && bash eth_script_coverage.sh |