nixos-hardware/.github/workflows/test.yml

16 lines
361 B
YAML
Raw Normal View History

name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-11-13 07:36:23 +00:00
- uses: cachix/install-nix-action@v15
2020-11-26 07:34:03 +00:00
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py