purescript-httpurple/.github/workflows/test.yaml

25 lines
418 B
YAML
Raw Normal View History

name: Test
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Build
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test'