Skip to content

MP-2815. Vesting migration to daodao #54

MP-2815. Vesting migration to daodao

MP-2815. Vesting migration to daodao #54

Workflow file for this run

name: Coverage
on:
push:
branches:
- master
- main
pull_request:
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
profile: minimal
override: true
components: llvm-tools-preview
# selecting a toolchain should happen before the plugin, as the cache uses the current rustc version as its cache key
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo make
uses: davidB/rust-cargo-make@v1
# artifacts used by tests
- name: Compile workspace
run: cargo make build
- name: Run test coverage
run: cargo make coverage-lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/coverage/lcov.info