1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-09 20:49:40 +01:00
nixos-hardware/.github/workflows/test.yml

22 lines
533 B
YAML
Raw Normal View History

name: "Test"
on:
pull_request:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
2024-06-21 23:26:44 +02:00
strategy:
matrix:
2024-06-23 13:59:30 +02:00
# when updating channels, also update .mergify.yml
2024-06-21 23:26:44 +02:00
channel: [ nixos-unstable, nixos-24.05 ]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
2020-11-26 08:34:03 +01:00
with:
2024-06-21 23:26:44 +02:00
nix_path: nixpkgs=channel:${{ matrix.channel }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py