mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-25 21:50:20 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue