diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 5c5b4e0..bcadb9e 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -33,17 +33,6 @@ jobs: - uses: actions/checkout@v3 - - name: Setup MSYS2 (Windows) - if: ${{ runner.os == 'Windows' }} - run: echo "C:\msys64\mingw64\bin;C:\msys64\usr\bin" >> "${GITHUB_PATH}" - - - name: Info about command-line tools used in test-suite - run: | - which bash - which cat - which echo - continue-on-error: true - - name: Setup Haskell Stack uses: haskell/actions/setup@v2 id: setup @@ -76,6 +65,38 @@ jobs: # Should not error. # continue-on-error: true + - name: Info about command-line tools used in test-suite + run: | + which bash + which cat + which echo + continue-on-error: true + + - name: Info about command-line tools used in test-suite (via stack exec) + run: | + ${STACK} exec which bash + ${STACK} exec which cat + ${STACK} exec which echo + continue-on-error: true + + - name: Setup MSYS2 (Windows) + if: ${{ runner.os == 'Windows' }} + run: echo "C:\msys64\mingw64\bin;C:\msys64\usr\bin" >> "${GITHUB_PATH}" + + - name: Info about command-line tools used in test-suite + run: | + which bash + which cat + which echo + continue-on-error: true + + - name: Info about command-line tools used in test-suite (via stack exec) + run: | + ${STACK} exec which bash + ${STACK} exec which cat + ${STACK} exec which echo + continue-on-error: true + - name: Test run: ${STACK} test --test-arguments --diff