Skip to content

Commit d748ebd

Browse files
authored
Adds ignore for peg.rs and updates nightly for coverage (#22)
The Pest generated parser yields code paths that are hard to target for coverage. This is not an excuse to not target good coverage, but we should do this systematically through broader PartiQL tests and/or fuzz testing. This also updates the coverage CI to `nightly-2021-05-09`.
1 parent 9563ec6 commit d748ebd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ coverage:
88
default:
99
target: 85%
1010
threshold: 5%
11+
12+
ignore:
13+
# Ignore the Pest generated code until we have a better way to test
14+
# and target coverage for it
15+
- "partiql-parser/src/peg.rs"

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
profile: minimal
2525
# nightly can be very volatile--pin this to a version we know works well...
26-
toolchain: nightly-2021-04-24
26+
toolchain: nightly-2021-05-09
2727
override: true
2828
- name: Cargo Test
2929
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)