Skip to content

Commit 3de5c7a

Browse files
authored
ci: Fix coverage workflow (#1373)
The coverage workflow has been failing since boring was added as a dependency. This change updates the coverage workflow to include the proper build dependencies and splits the build and test running phases into distinct steps. The tests are now run daily instead of weekly so we can more readily detect and recover from regressions.
1 parent 8404c68 commit 3de5c7a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Coverage
22

3-
# Run weekly on Sunday at midnight (UTC).
3+
# Run daily at 11AM UTC (3AM PST).
44
on:
55
schedule:
6-
- cron: '0 0 * * 0'
6+
# cron: minute hour day month day-of-week
7+
- cron: '0 11 * * *'
78

89
env:
910
CARGO_INCREMENTAL: 0
@@ -23,7 +24,9 @@ jobs:
2324
image: docker://rust:1.56.0-buster
2425
options: --security-opt seccomp=unconfined # 🤷
2526
steps:
27+
- run: apt update && apt install -y cmake clang golang # for boring
2628
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
2729
- run: cargo install cargo-tarpaulin
28-
- run: cargo tarpaulin --verbose --workspace --out Xml
30+
- run: cargo tarpaulin --verbose --workspace --no-run
31+
- run: cargo tarpaulin --verbose --workspace --out Xml --ignore-tests --no-fail-fast
2932
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b

0 commit comments

Comments
 (0)