Skip to content

Commit 240f180

Browse files
authored
try to fix coverage (#102)
1 parent e78c3fa commit 240f180

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
RUST_BACKTRACE: 1
5050
RUSTFLAGS: '-C instrument-coverage'
5151

52-
- run: coverage-prepare --ignore-filename-regex '/tests/' lcov $(find target/debug/deps -regex '.*/main[^.]*')
52+
- run: coverage-prepare --ignore-filename-regex '/tests/' lcov $(find ../../target/debug/deps -regex '.*/main[^.]*')
53+
working-directory: crates/jiter
5354

5455
- run: cargo test --doc
5556

@@ -59,6 +60,7 @@ jobs:
5960
- uses: codecov/codecov-action@v3
6061
with:
6162
env_vars: RUNS_ON,RUST_VERSION
63+
token: ${{ secrets.CODECOV_TOKEN }}
6264

6365
test-macos:
6466
name: test on ${{ matrix.runs-on }}
@@ -96,13 +98,15 @@ jobs:
9698
RUST_BACKTRACE: 1
9799
RUSTFLAGS: '-C instrument-coverage'
98100

99-
- run: coverage-prepare --ignore-filename-regex '/tests/' lcov $(find target/debug/deps -regex '.*/main[^.]*')
101+
- run: coverage-prepare --ignore-filename-regex '/tests/' lcov $(find ../../target/debug/deps -regex '.*/main[^.]*')
102+
working-directory: crates/jiter
100103

101104
- run: cargo test --doc
102105

103106
- uses: codecov/codecov-action@v3
104107
with:
105108
env_vars: RUNS_ON,RUST_VERSION
109+
token: ${{ secrets.CODECOV_TOKEN }}
106110

107111
bench:
108112
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)