Skip to content

Run update-systemd-resolved tests #82

Run update-systemd-resolved tests

Run update-systemd-resolved tests #82

Workflow file for this run

name: Run update-systemd-resolved tests
on:
pull_request:
push:
workflow_dispatch:
jobs:
native:
name: Run tests on native architecture
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install testing dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install python3 sipcalc
- name: Run tests
run: ./run-tests
cross:
name: Run tests on ${{ matrix.arch }} architecture
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- aarch64
- ppc64le
steps:
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/run-on-architecture
- uses: uraimo/run-on-arch-action@v3
name: Run tests
with:
arch: ${{ matrix.arch }}
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
apt-get -y update
apt-get -y install python3 sipcalc
run: ./run-tests
flake:
name: Run Nix flake checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
system-features = benchmark big-parallel kvm nixos-test uid-range
- name: run flake checks
run: nix flake check -L