fix code coverage action

This commit is contained in:
t1m0t 2022-02-11 21:58:44 +01:00
parent e3d4c1cde4
commit d8bfc41662

View file

@ -95,12 +95,10 @@ jobs:
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 -y &&\
cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
- uses: actions/checkout@v2
- run: apt-get update
- run: apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y
- run: cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
- uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false