Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAlgehed committed Mar 15, 2024
1 parent 98cbdf2 commit ca3b92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/hugs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ jobs:
- name: apt
run: |
sudo apt-get update
sudo apt-get install -y hugs libhugs-time-bundled
- name: Get Haskell
id: haskell
uses: haskell-actions/setup@v2
with:
ghc-version: '9.6'
cabal-version: '3.10.1.0'
sudo apt-get install -y hugs libhugs-time-bundled cpphs
- name: checkout
uses: actions/checkout@v3
- name: build and test
Expand Down
2 changes: 1 addition & 1 deletion test-hugs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ dotest() {

# Simple tests
dotest Test.QuickCheck 'quickCheck $ \xs -> reverse (reverse xs) === (xs :: [Int])' "OK, passed 100 tests."
dotest Test.QuickCheck 'quickCheck $ \xs -> reverse xs === (xs :: [Int])' "\[0,2\]"
dotest Test.QuickCheck 'quickCheck $ \xs -> reverse xs === (xs :: [Int])' "\[0,1\]"
echo
echo 'All tests passed!'

0 comments on commit ca3b92e

Please sign in to comment.