Skip to content

Commit 33ce4f7

Browse files
authored
fix: CI failure for Codecov/tarpaulin (#200)
Run tarpaulin for code coverage on stable rust instead of nightly. Nightly rust has our test cases failing due to the changed debug printing of strings with single quotes "'" so our test cases using should_panic(expected = <error message>) are failing. See rust-lang/rust#83079
1 parent 861bc54 commit 33ce4f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ jobs:
106106
name: Coverage
107107
runs-on: ubuntu-latest
108108
container:
109-
image: xd009642/tarpaulin:develop-nightly
109+
image: xd009642/tarpaulin:develop
110110
options: --security-opt seccomp=unconfined
111111
steps:
112112
- name: Checkout repository
113113
uses: actions/checkout@v2
114114

115115
- name: Generate code coverage
116116
run: |
117-
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out Xml
117+
cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out Xml
118118
119119
- name: Upload to codecov.io
120120
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)