Skip to content

packagekit: Fix crash on unexpected uname -r format #13155

packagekit: Fix crash on unexpected uname -r format

packagekit: Fix crash on unexpected uname -r format #13155

Workflow file for this run

name: unit-tests
on: [pull_request, workflow_dispatch]
jobs:
unit-tests:
runs-on: ubuntu-22.04
permissions: {}
container:
image: quay.io/cockpit/tasks:latest
options: --user 1001
strategy:
matrix:
target:
- check-memory
- distcheck
# this runs static code checks, unlike distcheck
- check
- pytest-cov
fail-fast: false
timeout-minutes: 60
env:
FORCE_COLOR: 1
TEST_BROWSER: firefox
CFLAGS: '-O2'
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
# need this to also fetch tags
fetch-depth: 0
submodules: true
- name: Run unit test
timeout-minutes: 30
run: |
./autogen.sh
make -j$(nproc) '${{ matrix.target }}'