Skip to content

Commit

Permalink
;ci: add base-compat 0.14 to extra-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Oct 1, 2024
1 parent 0f04af4 commit b73b1f9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/oldest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,18 @@ jobs:
run: |
$stack install --test --bench hledger-web --fast --ghc-options=-Werror
- name: Install shelltestrunner
run: |
export PATH=~/.local/bin:$PATH
if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install shelltestrunner-1.10; fi
shelltest --version
- name: Test functional tests (excluding addons)
run: |
export PATH=~/.local/bin:$PATH
COLUMNS=80 $stack exec -- shelltest --execdir -j16 hledger/test -x /_ -x /addons -x ledger-compat/ledger-baseline -x ledger-compat/ledger-regress -x ledger-compat/ledger-collected
# XXX run the bin/ func tests corresponding to the GHC version enabled above, only
# XXX disable until this is fixed: shelltestrunner-1.10/src/shelltest.hs:125:20: error:
# shelltestrunner > Not in scope: ‘configFailFast’
# shelltestrunner > Perhaps you meant ‘configFastFail’ (imported from Test.Hspec.Core.Runner)

# - name: Install shelltestrunner
# run: |
# export PATH=~/.local/bin:$PATH
# if [[ ! -x ~/.local/bin/shelltest ]]; then $stack install shelltestrunner-1.10; fi
# shelltest --version

# - name: Test functional tests (excluding addons)
# run: |
# export PATH=~/.local/bin:$PATH
# COLUMNS=80 $stack exec -- shelltest --execdir -j16 hledger/test -x /_ -x /addons -x ledger-compat/ledger-baseline -x ledger-compat/ledger-regress -x ledger-compat/ledger-collected
# # XXX run the bin/ func tests corresponding to the GHC version enabled above, only
2 changes: 2 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ packages:
- hledger-web

extra-deps:
- base-compat-0.14.0
- base-compat-batteries-0.14.0
# for hledger-lib
- Cabal-3.12.0.0
- Cabal-syntax-3.12.0.0
Expand Down
13 changes: 13 additions & 0 deletions stack8.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ packages:
- hledger-ui
- hledger-web

# I give up, go with this for now
allow-newer: true

extra-deps:
- safe-0.3.21

- base-compat-0.14.0
# needed for the above:
- base-compat-batteries-0.14.0
- data-array-byte-0.1.0.1
- foldable1-classes-compat-0.1
- hashable-1.4.7.0
- OneTuple-0.4.2
# etc etc etc.

# for hledger-lib:
- doctest-0.20.0
- ansi-terminal-0.11.4
Expand Down

0 comments on commit b73b1f9

Please sign in to comment.