mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
replace travis with github action
This way we get the latest nix.
This commit is contained in:
parent
373856f3e1
commit
80a32af201
2 changed files with 13 additions and 3 deletions
13
.github/workflows/test.yml
vendored
Normal file
13
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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
|
|
@ -1,3 +0,0 @@
|
||||||
language: nix
|
|
||||||
script:
|
|
||||||
./tests/run.py
|
|
Loading…
Reference in a new issue