Skip to content

Commit

Permalink
Do not test via stack, instead require a successful Linux build.
Browse files Browse the repository at this point in the history
The latter includes running tests anyway. Also, the testsuite currently
is borked outsite Nix environments. Also also, Stack is garbage and
doesn't support setting up PATH in any sane manner.
  • Loading branch information
my-name-is-lad committed Jul 29, 2024
1 parent 8b4950c commit 96f39d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
tag: ${{ github.ref }}

dist:
needs: check_versions
needs: check_versions Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:

- name: Build dist
run: |
stack --nix sdist --pvp-bounds both --test-tarball
stack --nix sdist --pvp-bounds both
echo "distPath=$(stack path | awk -F ": " '/dist-dir/ {print $2}')" >> $GITHUB_ENV
- name: Upload compaREST sources artifact
Expand All @@ -213,7 +213,7 @@ jobs:
env:
HACKAGE_KEY: ${{ secrets.HACKAGE_KEY }}
run: |
stack upload --pvp-bounds both --test-tarball --candidate .
stack upload --pvp-bounds both --candidate .
macOS:
needs: check_versions
Expand Down

0 comments on commit 96f39d8

Please sign in to comment.