Skip to content

Commit

Permalink
ci: Trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Oct 31, 2023
1 parent 309084f commit 97826c4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,22 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: llvm-tools-preview
- uses: Swatinem/fucov@v1
- uses: codecov/codecov-action@v1
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
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'
- uses: actions-rs/[email protected]
id: coverage
with:
config: grcov.yml
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
directory: coverage
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ steps.coverage.outputs.report }}
14 changes: 14 additions & 0 deletions grcov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
branch: true
ignore-not-existing: true
llvm: true
filter: covered
output-type: lcov
output-path: ./lcov.info
prefix-dir: /home/user/build/
ignore:
- "/*"
- "C:/*"
- "../*"
path-mapping:
- "/path1"
- "/path2"

0 comments on commit 97826c4

Please sign in to comment.