Skip to content

Commit 19484cf

Browse files
simplify codecov.yml
1 parent 2bad1f0 commit 19484cf

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/codecov.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,13 @@ jobs:
3939
- name: Clean previous builds
4040
run: cargo clean
4141

42-
- name: Run tests with coverage
42+
- name: Run tests and generate coverage report
4343
run: |
4444
cargo test --all-features;
4545
cargo test discv5_echo -- --ignored;
4646
cargo test default_echo -- --ignored;
47-
48-
- name: Generate coverage report
49-
run: |
50-
mkdir -p /tmp/cov
51-
grcov ./target/debug/ \
52-
--binary-path ./target/debug/ \
53-
-s . \
54-
-t lcov \
55-
--branch \
56-
--ignore-not-existing \
57-
--ignore '../*' \
58-
--ignore '/*' \
59-
-o /tmp/cov/tests.lcov
47+
mkdir /tmp/cov;
48+
grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o /tmp/cov/tests.lcov;
6049
6150
- uses: codecov/codecov-action@v3
6251
with:

0 commit comments

Comments
 (0)