From 3229003474cc100a6d7334832ccc4a7106ee5b85 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 18 Nov 2020 07:51:33 -0500 Subject: [PATCH] Test actions --- .github/workflows/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..21612b2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: "Test" +on: + pull_request: + push: +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + # Nix Flakes doesn't work on shallow clones + fetch-depth: 0 + - uses: cachix/install-nix-action@v12 + with: + install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20200820_4d77513/install + extra_nix_config: | + experimental-features = nix-command flakes + system-features = nixos-test benchmark big-parallel kvm + - run: nix-build