Skip to content

Commit bf431c7

Browse files
authored
Merge pull request #268 from PyO3/unpin-nightly
Unpin toolchain and only evaluate coverage if the basic jobs are successful
2 parents bc4bf35 + 6624472 commit bf431c7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
166166
coverage:
167167
runs-on: ubuntu-latest
168+
needs: [lint, check-msrv, examples]
168169
steps:
169170
- uses: actions/checkout@v2
170171
- name: Set up Python
@@ -178,9 +179,7 @@ jobs:
178179
continue-on-error: true
179180
- uses: actions-rs/toolchain@v1
180181
with:
181-
# TODO: this is pinned to work around a rustc bug in instrumented coverage
182-
# https://github.com/taiki-e/cargo-llvm-cov/issues/128
183-
toolchain: nightly-2022-01-14
182+
toolchain: nightly
184183
override: true
185184
profile: minimal
186185
components: llvm-tools-preview

codecov.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
comment: off
2+
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 0.25%
9+
10+
ignore:
11+
- tests/*.rs

0 commit comments

Comments
 (0)