Skip to content

Fix rust workglow

Fix rust workglow #67

Workflow file for this run

name: coverage
on: [push]
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
environment: coverage
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install xmllint
run: |
apt-get update
apt-get install -y libxml2-utils
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
fail_ci_if_error: true