Skip to content

Commit

Permalink
use coveralls without a token?
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Jan 4, 2025
1 parent 4747f06 commit ae6d2d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
PROJECT_NAME_UNDERSCORE: semverator
CARGO_INCREMENTAL: 0
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -D warnings
RUSTFLAGS: -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -D warnings
RUSTDOCFLAGS: -Cpanic=abort
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -62,5 +62,6 @@ jobs:
run: |
cargo install cargo-tarpaulin
just coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
- uses: coverallsapp/github-action@v2
with:
path-to-lcov: coverage/lcov.info
2 changes: 1 addition & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ default:

# Generate coverage/lcov.info
coverage:
cargo tarpaulin --engine ptrace -o lcov --output-dir coverage --coveralls $COVERALLS_TOKEN
cargo tarpaulin --engine ptrace -o lcov --output-dir coverage

0 comments on commit ae6d2d4

Please sign in to comment.