Skip to content

Commit

Permalink
fix: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-steve committed Aug 30, 2024
1 parent f793f85 commit 2656178
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@ jobs:
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v4
- name: Set PKG_CONFIG_PATH
run: echo "PKG_CONFIG_PATH=/usr/lib/pkgconfig" >> $GITHUB_ENV
- name: Run tests
run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --release --engine llvm --follow-exec --post-test-delay 10 --coveralls ${{ secrets.COVERALLS_TOKEN }}
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
fail_ci_if_error: true
# - name: Set PKG_CONFIG_PATH
# run: echo "PKG_CONFIG_PATH=/usr/lib/pkgconfig" >> $GITHUB_ENV
# - name: Run tests
# run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --release --engine llvm --follow-exec --post-test-delay 10 --coveralls ${{ secrets.COVERALLS_TOKEN }}

0 comments on commit 2656178

Please sign in to comment.