Merge pull request #234 from t1m0t/master
fix code coverage and docs workflows
This commit is contained in:
2 files changed
+10
-8
No files matched your search
@@ -2,11 +2,12 @@ name: github pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- docs/**
|
||||
- .github/workflows/docs.yml
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
|
||||
@@ -96,11 +96,12 @@ jobs:
|
||||
options: --security-opt seccomp=unconfined
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- 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
|
||||
- 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
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v2
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
fail_ci_if_error: false
|
||||
Reference in new issue
Block a user