Merge pull request #234 from t1m0t/master

fix code coverage and docs workflows
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2022-02-11 17:06:27 -05:00
commit 0b940fa94d
2 files changed
+10 -8

No files matched your search

+3 -2
View File
@@ -2,11 +2,12 @@ name: github pages
on:
push:
branches:
- master
paths:
- docs/**
- .github/workflows/docs.yml
pull_request:
branches:
- master
jobs:
build-deploy:
+7 -6
View File
@@ -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