From 33df4dbccb2e5c3b6281885af9adb31a2ee562b3 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 16 Mar 2020 10:34:36 -0700 Subject: [PATCH] ;ci: set PATH before running shelltest Not sure why this is failing only now.. --- .github/workflows/linux-nightly.yml | 2 +- .github/workflows/mac-nightly.yml | 1 + .github/workflows/push.yml | 1 + .github/workflows/windows-nightly.yml | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-nightly.yml b/.github/workflows/linux-nightly.yml index af23eb7f4..223eeaae0 100644 --- a/.github/workflows/linux-nightly.yml +++ b/.github/workflows/linux-nightly.yml @@ -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 }} diff --git a/.github/workflows/mac-nightly.yml b/.github/workflows/mac-nightly.yml index 5ddeec30e..81ef6b131 100644 --- a/.github/workflows/mac-nightly.yml +++ b/.github/workflows/mac-nightly.yml @@ -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 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c99c709a4..1bbcc9aa9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 3e24251ec..f67eb7589 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -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