mirror of
https://github.com/gren-lang/compiler.git
synced 2024-09-11 08:45:42 +03:00
Add hspec test module
This commit is contained in:
parent
000869ab5f
commit
0414031618
2
.github/workflows/verify.yml
vendored
2
.github/workflows/verify.yml
vendored
@ -29,3 +29,5 @@ jobs:
|
||||
- name: Build
|
||||
run: cabal build -f dev
|
||||
|
||||
- name: Tests
|
||||
run: cabal test -f dev
|
||||
|
19
gren.cabal
19
gren.cabal
@ -214,3 +214,22 @@ Executable gren
|
||||
|
||||
Main-Is:
|
||||
Main.hs
|
||||
|
||||
Test-Suite gren-tests
|
||||
Import:
|
||||
gren-common
|
||||
|
||||
Type:
|
||||
exitcode-stdio-1.0
|
||||
|
||||
Hs-Source-Dirs:
|
||||
tests
|
||||
|
||||
Main-Is:
|
||||
Spec.hs
|
||||
|
||||
Build-Depends:
|
||||
hspec >= 2.7.10 && < 3
|
||||
|
||||
Build-Tool-Depends:
|
||||
hspec-discover:hspec-discover >= 2.7.10 && < 3
|
||||
|
1
tests/Spec.hs
Normal file
1
tests/Spec.hs
Normal file
@ -0,0 +1 @@
|
||||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
Loading…
Reference in New Issue
Block a user