;ci: force use of and upgrade to shelltestrunner 1.11, 2

This commit is contained in:
Simon Michael 2025-11-18 08:02:11 -10:00
parent 6f9a8d2f66
commit fe3fa26940
4 changed files with 9 additions and 5 deletions

View File

@ -124,7 +124,8 @@ jobs:
- name: Install shelltestrunner
run: |
export PATH=~/.local/bin:$PATH
if [[ ! -x ~/.local/bin/shelltest || true ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
$stack update; $stack install --verbosity=error shelltestrunner-1.11
if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
shelltest --version
- name: Test functional tests (excluding addons)

View File

@ -125,7 +125,8 @@ jobs:
- name: Install shelltestrunner
run: |
export PATH=~/.local/bin:$PATH
if [[ ! -x ~/.local/bin/shelltest || true ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
$stack update; $stack install --verbosity=error shelltestrunner-1.11
if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
shelltest --version
- name: Test functional tests (excluding addons)

View File

@ -328,7 +328,8 @@ jobs:
- name: Install shelltestrunner
run: |
export PATH=~/.local/bin:$PATH
if [[ ! -x ~/.local/bin/shelltest || true ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
$stack update; $stack install --verbosity=error shelltestrunner-1.11
if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
shelltest --version
if: env.do-all

View File

@ -136,14 +136,15 @@ jobs:
run: |
$stack install --test --bench hledger-web --fast --ghc-options=-Werror
# XXX disable until this is fixed: shelltestrunner-1.11/src/shelltest.hs:125:20: error:
# XXX disable until this is fixed: shelltest.hs:125:20: error:
# shelltestrunner > Not in scope: configFailFast
# shelltestrunner > Perhaps you meant configFastFail (imported from Test.Hspec.Core.Runner)
# - name: Install shelltestrunner
# run: |
# export PATH=~/.local/bin:$PATH
# if [[ ! -x ~/.local/bin/shelltest || true ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
# $stack update; $stack install --verbosity=error shelltestrunner-1.11
# if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install --verbosity=error shelltestrunner-1.11; fi
# shelltest --version
# - name: Test functional tests (excluding addons)