Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! [#164] Add workflow …
Browse files Browse the repository at this point in the history
…for running Windows tests on CI
  • Loading branch information
Sorokin-Anton committed Oct 8, 2022
1 parent 1edd174 commit 195b326
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ jobs:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack

- uses: actions/cache@v3
name: Cache AppData/Local/Programs/stack
with:
path: ~/AppData/Local/Programs/stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack


# When editing this action, make sure it can run without using cached folders.
# Yes, it tries to install mingw-w64-x86_64-pcre twice
- name: install pacman dependencies
run:
stack --system-ghc exec -- pacman -S --noconfirm pkgconf;
Expand All @@ -52,12 +61,11 @@ jobs:
run: |
stack build --system-ghc --stack-yaml ${{ matrix.stackyaml }} --test --bench --no-run-tests --no-run-benchmarks --ghc-options '-Werror' --haddock --no-haddock-deps
# commented to cache .stack (golden tests are not passing yet)
# - name: stack test xrefcheck:xrefcheck-tests
# run: |
# stack test --system-ghc --stack-yaml ${{ matrix.stackyaml }}
# xrefcheck:xrefcheck-tests
- name: stack test xrefcheck:xrefcheck-tests
run: |
stack test --system-ghc --stack-yaml ${{ matrix.stackyaml }} xrefcheck:xrefcheck-tests
# golden tests are not passing yet
# - uses: mig4/setup-bats@v1
# name: Setup bats
# - name: Golden tests
Expand Down

0 comments on commit 195b326

Please sign in to comment.