Updates the metadata to MDS 3 #882
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: OpenSK code coverage report | |
on: | |
push: | |
paths: | |
- 'src/**/*.rs' | |
- 'libraries/**/*.rs' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
coveralls: | |
name: OpenSK code coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: "true" | |
- uses: actions-rs/toolchain@v1 | |
with: | |
target: thumbv7em-none-eabi | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Install grcov | |
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo +nightly install grcov; fi | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install Python dependencies | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Set up OpenSK | |
run: ./setup.sh | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
toolchain: nightly-2020-06-10 | |
args: --features "with_ctap1,with_nfc,std" --no-fail-fast | |
env: | |
CARGO_INCREMENTAL: '0' | |
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | |
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | |
- uses: actions-rs/grcov@v0.1.5 | |
id: coverage | |
- uses: coverallsapp/github-action@1.1.3 | |
name: upload report to coveralls | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ${{ steps.coverage.outputs.report }} | |