mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-10 23:52:22 +00:00
Don't build test suite by default.
Former-commit-id: 1c4aa04eab09b40ab9c0a56fe452f92a152c2146
This commit is contained in:
parent
812f44010a
commit
f7e330725a
4 changed files with 11 additions and 3 deletions
|
|
@ -102,7 +102,7 @@ jobs:
|
|||
;;
|
||||
*)
|
||||
stack ./examples/counter.hs check
|
||||
stack test $ARGS
|
||||
stack test $ARGS --flag reanimate:test
|
||||
;;
|
||||
esac
|
||||
set +ex
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
export PATH=$HOME/.local/bin:$PATH
|
||||
stack --install-ghc test $ARGS --only-dependencies
|
||||
stack ./examples/counter.hs check
|
||||
stack test $ARGS
|
||||
stack test $ARGS --flag reanimate:test
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
displayName: 'Installation ${{parameters.os}} & Test'
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
unzip -o /usr/bin/stack.zip -d /usr/bin/
|
||||
stack --install-ghc test $ARGS --only-dependencies
|
||||
stack ./examples/counter.hs check
|
||||
stack test $ARGS
|
||||
stack test $ARGS --flag reanimate:test
|
||||
env:
|
||||
OS_NAME: ${{ parameters.os }}
|
||||
displayName: 'Installation ${{parameters.os}} & Test'
|
||||
|
|
|
|||
|
|
@ -36,6 +36,11 @@ Source-Repository head
|
|||
Type: git
|
||||
Location: git://github.com/lemmih/reanimate.git
|
||||
|
||||
Flag test
|
||||
Description: Enable testing (requires stack)
|
||||
Default: False
|
||||
Manual: True
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
|
@ -98,6 +103,9 @@ test-suite spec
|
|||
other-modules:
|
||||
UnitTests
|
||||
hs-source-dirs: test
|
||||
if !flag(test) {
|
||||
Buildable: False
|
||||
}
|
||||
build-depends:
|
||||
base,
|
||||
directory,
|
||||
|
|
|
|||
Loading…
Reference in a new issue