File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080 with :
8181 args : ' --timeout=360 -v --out Lcov'
8282 - name : Push code coverage results to coveralls.io
83- if : matrix.os == 'ubuntu-latest'
83+ if : matrix.os == 'ubuntu-latest'
84+ uses : coverallsapp/github-action@master
85+ with :
86+ github-token : ${{ secrets.GITHUB_TOKEN }}
87+ path-to-lcov : ./lcov.info
88+
89+ test_coverage :
90+ name : Code coverage in tests
91+ runs-on : ubuntu-latest
92+ container :
93+ image : xd009642/tarpaulin:latest
94+ options : --security-opt seccomp=unconfined
95+ steps :
96+ - name : Checkout repository
97+ uses : actions/checkout@v2
98+ - name : Generate code coverage
99+ run : |
100+ cargo tarpaulin --avoid-cfg-tarpaulin --timeout=360 --out lcov
101+ - name : Push code coverage results to coveralls.io
84102 uses : coverallsapp/github-action@master
85103 with :
86104 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -115,7 +133,7 @@ jobs:
115133 with :
116134 command : test
117135 args : --verbose --release --all-features
118-
136+
119137 doc-links :
120138 name : Intra-documentation links
121139 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments