Skip to content

feat: add sqllite as an option to store signing keys (#723) #1672

feat: add sqllite as an option to store signing keys (#723)

feat: add sqllite as an option to store signing keys (#723) #1672

Workflow file for this run

name: Coverage Tests
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
jobs:
# code coverage job; moved to own workflow file due to running out of disk space.
# The runner will stop working when the machine runs out of disk space. Free space left: 72 MB
coverage:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Install apt dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y clang libssl-dev llvm libudev-dev libgmp3-dev protobuf-compiler && \
sudo rm -rf /var/lib/apt/lists/*
- name: Checkout
uses: actions/checkout@v3
- name: Install Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
- name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0
- name: Install Tarpaulin
run: cargo install cargo-tarpaulin
- name: Run Tarpaulin
run : cargo tarpaulin --out xml -p pallet-dkg-metadata -p pallet-dkg-proposal-handler -p pallet-dkg-proposals -p dkg-primitives -p dkg-runtime-primitives --locked --jobs 16 --timeout 3600 --skip-clean -- --test-threads 16
- name: Upload CodeCov
uses: codecov/codecov-action@v2