mirror of
https://github.com/Skallwar/suckit.git
synced 2026-09-10 23:36:20 -04:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.4 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.1) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
799 B
YAML
39 lines
799 B
YAML
name: code-coverage
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check:
|
|
name: Rust project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install stable toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Run cargo-tarpaulin
|
|
uses: actions-rs/tarpaulin@v0.1
|
|
with:
|
|
version: '0.18.2'
|
|
args: '-- --test-threads 1'
|
|
|
|
- name: Upload to codecov.io
|
|
uses: codecov/codecov-action@v2
|
|
|
|
- name: Archive code coverage results
|
|
uses: actions/upload-artifact@v2.3.1
|
|
with:
|
|
name: code-coverage-report
|
|
path: cobertura.xml
|