graphql-engine/server/forks/hedis/test/run-test.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
434 B
Bash
Raw Normal View History

#!/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"