add tests

This commit is contained in:
Jörg Thalheim 2020-04-01 15:25:32 +01:00
parent ea7c07e783
commit 862b772839
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
7 changed files with 112 additions and 0 deletions

12
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v7
- run:
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz ci.nix --run 'true'