File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: Nightly Checks
33on :
44 schedule :
55 # Every night at midnight
6- - cron : ' 0 0 * * *'
6+ - cron : " 0 0 * * *"
7+ workflow_dispatch :
78
89jobs :
910 dependencies :
3334 run : cargo install cargo-audit
3435 - name : Execute cargo audit
3536 run : cargo audit
37+
38+ coverage :
39+ name : Calculate coverage from tests
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v1
43+ - name : Execute tarpaulin
44+ run : ./tests/coverage.sh
Original file line number Diff line number Diff line change 11/target
22* patch
33Cargo.lock
4+ cobertura.xml
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright 2021 Contributors to the Parsec project.
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ set -euf -o pipefail
7+
8+ cargo install cargo-tarpaulin
9+
10+ cargo tarpaulin --tests --out Xml --exclude-files=" src/core/testing/*"
11+
12+ bash <( curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments