Skip to content

Commit 9edc309

Browse files
committed
Run memory usage tests in CI.
1 parent d63589f commit 9edc309

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ build_script:
4444
- ..\cabal test integration-tests --show-details=streaming --test-option=--pattern=!exec --test-option=--hide-successes
4545
- ..\cabal test integration-tests2 --show-details=streaming --test-option=--hide-successes
4646
- ..\cabal test solver-quickcheck --show-details=streaming --test-option=--hide-successes --test-option=--quickcheck-tests=1000
47+
- ..\cabal test memory-usage-tests --show-details=streaming

travis-script.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ timed cabal new-build cabal-install:cabal \
113113
cabal-install:integration-tests \
114114
cabal-install:integration-tests2 \
115115
cabal-install:unit-tests \
116-
cabal-install:solver-quickcheck
116+
cabal-install:solver-quickcheck \
117+
cabal-install:memory-usage-tests
117118

118119
# The integration-tests2 need the hackage index, and need it in the secure
119120
# format, which is not necessarily the default format of the bootstrap cabal.
@@ -125,6 +126,7 @@ timed ${CABAL_INSTALL_BDIR}/build/cabal/cabal update
125126
(cd cabal-install && timed ${CABAL_INSTALL_BDIR}/build/solver-quickcheck/solver-quickcheck $TEST_OPTIONS --quickcheck-tests=1000) || exit $?
126127
(cd cabal-install && timed ${CABAL_INSTALL_BDIR}/build/integration-tests/integration-tests $TEST_OPTIONS) || exit $?
127128
(cd cabal-install && timed ${CABAL_INSTALL_BDIR}/build/integration-tests2/integration-tests2 $TEST_OPTIONS) || exit $?
129+
(cd cabal-install && timed ${CABAL_INSTALL_BDIR}/build/memory-usage-tests/memory-usage-tests $TEST_OPTIONS) || exit $?
128130

129131
# Haddock
130132
(cd cabal-install && timed ${CABAL_INSTALL_SETUP} haddock --builddir=${CABAL_INSTALL_BDIR} ) || exit $?

0 commit comments

Comments
 (0)