name: unit-tests on: [pull_request, workflow_dispatch] jobs: unit-tests: runs-on: ubuntu-latest permissions: {} strategy: matrix: target: - check-memory - distcheck # this runs static code checks, unlike distcheck - check - pytest-cov fail-fast: false timeout-minutes: 60 steps: - name: Run unit test timeout-minutes: 30 run: | set -eux IMAGE="$(curl --fail https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/${GITHUB_SHA}/.cockpit-ci/container)" podman run --security-opt=seccomp=unconfined --network=host --rm --interactive "${IMAGE}" sh -eux <