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: on:
push: push:
branches:
- master
paths: paths:
- docs/** - docs/**
- .github/workflows/docs.yml - .github/workflows/docs.yml
pull_request:
branches:
- master
jobs: jobs:
build-deploy: build-deploy:
+7 -6
View File
@@ -96,11 +96,12 @@ jobs:
options: --security-opt seccomp=unconfined options: --security-opt seccomp=unconfined
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Generate code coverage - name: Generate code coverage
run: | - run: apt-get update
apt-get update &&\ - run: apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y
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
cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
- name: Upload to codecov.io - name: Upload to codecov.io
uses: codecov/codecov-action@v2 - uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false