Skip to content

Commit

Permalink
Update coveralls coverage CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Mar 16, 2024
1 parent facde2c commit 9d69484
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/actions-rs/grcov.yml

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/grcov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: ["push", "pull_request"]

name: Code Coverage
name: coveralls Code Coverage

jobs:
coverage:
Expand All @@ -19,18 +19,16 @@ jobs:
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
- name: Run tests
run: cargo test --verbose
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- id: coverage
- name: rust-grcov
uses: actions-rs/[email protected]
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ steps.coverage.outputs.report }}

0 comments on commit 9d69484

Please sign in to comment.