nixos-hardware/.github/workflows/test.yml
Jörg Thalheim 80a32af201
replace travis with github action
This way we get the latest nix.
2020-06-21 14:24:28 +01:00

14 lines
300 B
YAML

name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py