mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
15 lines
434 B
Bash
15 lines
434 B
Bash
|
#!/usr/bin/env sh
|
||
|
set -e
|
||
|
|
||
|
echo "**These tests assume there is a redis server running on port 6379**"
|
||
|
|
||
|
# The -M argument limits heap size for 'testConstantSpacePipelining'.
|
||
|
cabal exec cabal test doctest
|
||
|
cabal test hedis-test --test-options="+RTS -M10m"
|
||
|
|
||
|
echo "------------------"
|
||
|
echo "hlint suggestions:"
|
||
|
echo "------------------"
|
||
|
find src ! -name 'Commands.hs' ! -type d \
|
||
|
| xargs -J % hlint % --ignore="Use import/export shortcut"
|