Update to chainerror 1.0 (#109) #191
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: coverage | |
on: [ "push", "pull_request" ] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: llvm-tools-preview, rustfmt | |
override: true | |
- name: Install cargo-llvm-cov | |
run: cargo install cargo-llvm-cov | |
- name: Run cargo-llvm-cov | |
run: | | |
mkdir coverage | |
cargo llvm-cov --workspace --lcov --output-path ./coverage/lcov.info | |
- name: Upload to coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |