Skip to content

Merge pull request #222 from grembo/patch-1 #198

Merge pull request #222 from grembo/patch-1

Merge pull request #222 from grembo/patch-1 #198

Workflow file for this run

on:
push:
branches: [main]
pull_request:
name: coverage
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install browsers
run: |
./ci/ubuntu-latest-firefox
./ci/ubuntu-latest-chrome
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Install cargo-tarpaulin
uses: actions-rs/[email protected]
with:
crate: cargo-tarpaulin
version: latest
use-tool-cache: true
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --timeout 120 --out Xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true