Skip to content

tpm: Overhaul errors #1967

tpm: Overhaul errors

tpm: Overhaul errors #1967

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
static:
name: Static code checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check for panics
run: ./tests/nopanic.ci
tests:
name: Fedora tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: docker run --security-opt seccomp=tests/seccomp-profile.json -v $(pwd):/tmp/code_under_test -w /tmp/code_under_test quay.io/keylime/keylime-ci:latest dbus-run-session -- /tmp/code_under_test/tests/run.sh
- uses: actions/upload-artifact@v3
with:
name: tarpaulin-report
path: |
tarpaulin-report.json
tarpaulin-report.html