new workflow
This commit is contained in:
1 parent
5ba2c43274
commit
ed0e03a036
1 file changed
+17
@@ -76,3 +76,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: -- -D warnings
|
args: -- -D warnings
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
name: coverage
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: xd009642/tarpaulin:develop-nightly
|
||||||
|
options: --security-opt seccomp=unconfined
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Generate code coverage
|
||||||
|
run: |
|
||||||
|
apt-get update &&\
|
||||||
|
apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev &&\
|
||||||
|
cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
|
||||||
|
- name: Upload to codecov.io
|
||||||
|
uses: codecov/codecov-action@v2
|
||||||
Reference in new issue
Block a user