Skip to content

Commit a22e1ef

Browse files
committed
More test goodness
1 parent 40ada07 commit a22e1ef

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- if: matrix.os == 'windows-latest'
2424
name: Install ghcup on windows
25-
run: Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $false,$true,$true,$false,$false,$false,$false,"C:\"
25+
run: Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $false,$true,$true,$false,$false,$false,$false,"C:\","", "C:\msys64"
2626

2727
- if: matrix.os == 'windows-latest'
2828
name: Add ghcup to PATH
@@ -47,10 +47,20 @@ jobs:
4747
run: cabal build --enable-tests --enable-benchmarks
4848
shell: bash
4949

50+
- name: Run tests
51+
run: cabal test
52+
shell: bash
53+
5054
- name: Haddock
5155
run: cabal haddock
5256
shell: bash
5357

54-
- name: Run tests
55-
run: cabal test
58+
- name: Generate.hs
59+
run: |
60+
runhaskell Generate.hs
61+
git diff --exit-code
62+
shell: bash
63+
64+
- name: sdist
65+
run: cabal sdist
5666
shell: bash

0 commit comments

Comments
 (0)