Skip to content

greenboot: add feature to disable healthchecks #205

greenboot: add feature to disable healthchecks

greenboot: add feature to disable healthchecks #205

Workflow file for this run

name: Run CI tests
on:
- push
- pull_request
jobs:
bats_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag test-image
- name: Run tests
run: docker run --rm --name test-greenboot -v /run/systemd/journal:/run/systemd/journal test-image
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
exclude-path: tests/**
token: ${{ secrets.GITHUB_TOKEN }}
- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v3
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}