fix: add some more debug info and prevent starvation #274
This file contains hidden or 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] | |
| jobs: | |
| test: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| container: | |
| image: xd009642/tarpaulin:develop-nightly | |
| options: --security-opt seccomp=unconfined | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Generate code coverage | |
| run: | | |
| apt-get update && apt-get install -y protobuf-compiler build-essential cmake clang | |
| cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml -- --nocapture --test-threads 1 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| slug: bec-project/bec_log_ingestor | |
| token: ${{ secrets.CODECOV_TOKEN }} |