-
-
Notifications
You must be signed in to change notification settings - Fork 22
31 lines (23 loc) · 682 Bytes
/
test.yml
File metadata and controls
31 lines (23 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Tests for the Haskell Phrasebook
on: [ push, pull_request ]
jobs:
test:
name: Test the examples
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.channel == 'nixos-unstable' }}
strategy:
matrix:
channel:
- nixos-unstable
- nixos-21.11
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:${{ matrix.channel }}
- uses: cachix/cachix-action@v10
with:
name: typeclasses
skipPush: true
- run: nix-shell --pure --run 'cabal build all'
- run: nix-shell --pure --run 'cabal test all'