mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-18 06:38:26 +00:00
fix code coverage action
This commit is contained in:
parent
e3d4c1cde4
commit
d8bfc41662
1 changed files with 7 additions and 9 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -95,12 +95,10 @@ jobs:
|
||||||
image: xd009642/tarpaulin:develop-nightly
|
image: xd009642/tarpaulin:develop-nightly
|
||||||
options: --security-opt seccomp=unconfined
|
options: --security-opt seccomp=unconfined
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
- run: apt-get update
|
||||||
- name: Generate code coverage
|
- run: apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y
|
||||||
run: |
|
- run: cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
|
||||||
apt-get update &&\
|
- uses: codecov/codecov-action@v2
|
||||||
apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y &&\
|
with:
|
||||||
cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
|
fail_ci_if_error: false
|
||||||
- name: Upload to codecov.io
|
|
||||||
uses: codecov/codecov-action@v2
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue