;ci: set PATH before running shelltest

Not sure why this is failing only now..
This commit is contained in:
Simon Michael 2020-03-16 10:34:36 -07:00
parent dcd557d5cb
commit 33df4dbccb
4 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,6 @@
name: linux nightly/pr CI
on:
# XXX not supported yet; build on noteworthy push to "ci" instead
schedule:
- cron: "0 07 * * *"
pull_request:
@ -188,6 +187,7 @@ jobs:
- name: Test functional tests (excluding addons)
run: |
export PATH=~/.local/bin:$PATH
COLUMNS=80 stack $ARGS exec -- shelltest --execdir -j16 tests -x /bin -x /addons
env:
ARGS: ${{ matrix.plan.resolver }}

View File

@ -128,6 +128,7 @@ jobs:
- name: Test functional tests (excluding addons)
run: |
export PATH=~/.local/bin:$PATH
COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons

View File

@ -119,5 +119,6 @@ jobs:
- name: Test functional tests (excluding addons)
run: |
export PATH=~/.local/bin:$PATH
COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons

View File

@ -131,6 +131,7 @@ jobs:
stack --no-terminal setup --install-ghc
# - name: Install shelltestrunner
## - export PATH=~/.local/bin:$PATH
# - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi
# - shelltest --version
@ -144,6 +145,7 @@ jobs:
# --pedantic
# run hledger-lib/hledger functional tests, skipping the ones for addons
## - export PATH=~/.local/bin:$PATH
#- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
- name: Zip executables