Skip to content

Commit a94c2c0

Browse files
committed
codecov test on github workflow
1 parent 1dbc5f0 commit a94c2c0

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: coverage
2+
3+
on: [push]
4+
jobs:
5+
test:
6+
name: coverage
7+
runs-on: ubuntu-latest
8+
container:
9+
image: xd009642/tarpaulin:develop-nightly
10+
options: --security-opt seccomp=unconfined
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
14+
15+
- name: Generate code coverage
16+
run: |
17+
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml \
18+
--exclude-files \
19+
nodejs \
20+
wasm \
21+
src/parser/mod.rs \
22+
src/select/mod.rs \
23+
src/select/cmp.rs \
24+
src/select/expr_term.rs \
25+
src/select/value_walker.rs
26+
27+
- name: Upload to codecov.io
28+
uses: codecov/codecov-action@v2
29+
with:
30+
token: ${{secrets.CODECOV_TOKEN}}
31+
fail_ci_if_error: true

codecov

26.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)