Skip to content

init_poo_id should cover all PoolId items #3890

init_poo_id should cover all PoolId items

init_poo_id should cover all PoolId items #3890

Workflow file for this run

name: Tests Coverage
on:
workflow_dispatch:
pull_request:
branches:
- master
paths-ignore:
- '**/README.md'
push:
branches:
- master
paths-ignore:
- '**/README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TARPAULIN_VERSION: 0.31.2
CARGO_INCREMENTAL: 0
jobs:
test:
name: Coverage Report
runs-on: [self-hosted, linux]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: Run cargo-tarpaulin
run: |
wget https://github.com/xd009642/tarpaulin/releases/download/${{ env.TARPAULIN_VERSION }}/cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
cargo tarpaulin -v --workspace \
-e \
acala acala-cli acala-service \
acala-primitives \
acala-rpc \
acala-runtime runtime-common runtime-integration-tests karura-runtime mandala-runtime \
ethjson evm-jsontests \
--exclude-files **/mock.rs **/weights.rs **/weights/* --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)