Add umockdev_testbed_load_evemu_events_from_string() #1168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit-tests | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 4 * * MON,FRI | |
jobs: | |
OS: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
scenario: | |
- apt-docker.io/amd64/ubuntu:devel | |
- apt-docker.io/amd64/ubuntu:latest | |
- apt-docker.io/amd64/ubuntu:rolling | |
- apt-docker.io/i386/debian:testing | |
- apt-docker.io/amd64/debian:testing | |
- dnf-registry.fedoraproject.org/fedora:latest | |
- dnf-registry.fedoraproject.org/fedora:rawhide | |
- alpine-docker.io/alpine | |
- alpine-docker.io/i386/alpine | |
- [email protected]/alpine | |
- nix-docker.io/nixos/nix | |
- gentoo- | |
include: | |
- scenario: alpine@gudev-alpine | |
env: EXTRA_PACKAGES=libgudev-dev | |
timeout-minutes: 30 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
# need this to also fetch tags | |
fetch-depth: 0 | |
- name: Run unit tests | |
run: | | |
set -eux | |
scenario=${{ matrix.scenario }} | |
script=${scenario%-*} | |
script=${script%@*} | |
image=${scenario#*-} | |
${{ matrix.env }} BRITTLE_TESTS=1 tests/run-${script} $image |