File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,16 @@ name: coverage
18
18
jobs :
19
19
test :
20
20
runs-on : ubuntu-latest
21
- container :
22
- image : xd009642/tarpaulin
23
- options : --security-opt seccomp=unconfined
24
21
steps :
25
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v3
23
+ - uses : actions-rs/toolchain@v1
24
+ with :
25
+ profile : minimal
26
+ toolchain : stable
27
+ override : true
28
+ components : llvm-tools-preview
29
+ - name : Install cargo-llvm-cov
30
+ uses : taiki-e/install-action@cargo-llvm-cov
26
31
- run : |
27
32
chmod 600 .test-key
28
33
mkdir /tmp/openssh-rs
35
40
cat .test-key | ssh-add -
36
41
name: Set up ssh-agent
37
42
- name : Generate code coverage
38
- run : |
39
- cargo tarpaulin --verbose --timeout 300 --out Xml --forward --all-features
43
+ run : cargo llvm-cov --all-features --lcov --output-path lcov.info
40
44
env :
41
45
# makes all the ignored tests not ignored
42
46
RUSTFLAGS : --cfg=ci
You can’t perform that action at this time.
0 commit comments