Skip to content

Commit

Permalink
Enable test running in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kozross committed May 21, 2022
1 parent 0708fea commit f11655e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ghc-version: ${{ matrix.ghc }}
cabal-version: 'latest'
- name: Configure
run: cabal new-configure
run: cabal new-configure --enable-tests
- name: Freeze
run: cabal freeze
- name: Cache
Expand All @@ -35,3 +35,5 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- name: Build
run: cabal build
- name: Run tests
run: cabal test
2 changes: 1 addition & 1 deletion test/properties/Accum.hs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ accumLaws runAndCompare =

typeName :: forall (a :: Type). (Typeable a) => String
typeName =
let ourTyCon = typeRepTyCon $ typeRep @ a
let ourTyCon = typeRepTyCon $ typeRep @a
in tyConModule ourTyCon <> "." <> tyConName ourTyCon

theNeedful ::
Expand Down

0 comments on commit f11655e

Please sign in to comment.