2020-06-21 13:22:33 +00:00
|
|
|
name: "Test"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-07 02:02:31 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-10-17 02:03:11 +00:00
|
|
|
- uses: cachix/install-nix-action@v18
|
2020-11-26 07:34:03 +00:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2020-06-21 13:22:33 +00:00
|
|
|
- name: Show nixpkgs version
|
|
|
|
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
|
|
|
- run: ./tests/run.py
|