mirror of
https://github.com/codedownio/sandwich.git
synced 2024-10-03 23:08:04 +03:00
Do CI on individual stack.yaml files
This commit is contained in:
parent
bf274801b0
commit
be6a92e0fb
24
.github/workflows/sandwich.yml
vendored
24
.github/workflows/sandwich.yml
vendored
@ -18,8 +18,8 @@ jobs:
|
||||
- "8.10.7"
|
||||
- "9.0.2"
|
||||
- "9.2.7"
|
||||
- "9.4.5"
|
||||
- "9.6.2"
|
||||
- "9.4.7"
|
||||
- "9.6.3"
|
||||
exclude:
|
||||
# ghc-9.4.4.exe: C:\sr\ghc-9.4.4\hashable-1.4.2.0-caea75de59bac447a2475c023cb3e922a3a24348\lib\libHShashable-1.4.2.0-caea75de59bac447a2475c023cb3e922a3a24348.a(#7:LowLevel.o): Not a x86_64 PE+ file.
|
||||
# ghc-9.4.4.exe: Unknown COFF 4 type in getHeaderInfo.
|
||||
@ -70,18 +70,12 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- ghc: "8.6.5"
|
||||
resolver: "lts-14.27"
|
||||
- ghc: "8.8.4"
|
||||
resolver: "lts-16.31"
|
||||
- ghc: "8.10.7"
|
||||
resolver: "lts-18.28"
|
||||
- ghc: "9.0.2"
|
||||
resolver: "lts-19.33"
|
||||
- ghc: "9.2.8"
|
||||
resolver: "lts-20.26"
|
||||
- ghc: "9.4.6"
|
||||
resolver: "lts-21.11"
|
||||
yaml: "stack-9.2.8.yaml"
|
||||
- ghc: "9.4.7"
|
||||
yaml: "stack-9.4.7-yaml"
|
||||
- ghc: "9.6.3"
|
||||
yaml: "stack-9.6.3.yaml"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -107,9 +101,9 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
cd sandwich
|
||||
stack build --resolver ${{matrix.resolver}} --system-ghc --test --bench --no-run-tests --no-run-benchmarks
|
||||
stack build --stack-yaml ${{matrix.yaml}} --system-ghc --test --bench --no-run-tests --no-run-benchmarks
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cd sandwich
|
||||
stack test --resolver ${{matrix.resolver}} --system-ghc
|
||||
stack test --stack-yaml ${{matrix.yaml}} --system-ghc
|
||||
|
24
stack-9.2.8.yaml
Normal file
24
stack-9.2.8.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
resolver: lts-20.26
|
||||
|
||||
nix:
|
||||
pure: false
|
||||
packages:
|
||||
- pkg-config
|
||||
- zlib
|
||||
|
||||
packages:
|
||||
- ./sandwich
|
||||
- ./sandwich-hedgehog
|
||||
- ./sandwich-quickcheck
|
||||
- ./sandwich-slack
|
||||
- ./sandwich-webdriver
|
||||
|
||||
extra-deps:
|
||||
- brick-2.1.1
|
||||
- vty-6.1
|
||||
- vty-crossplatform-0.4.0.0
|
||||
- vty-unix-0.2.0.0
|
||||
- vty-windows-0.2.0.0
|
||||
|
||||
- text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
|
54
stack-9.2.8.yaml.lock
Normal file
54
stack-9.2.8.yaml.lock
Normal file
@ -0,0 +1,54 @@
|
||||
# This file was autogenerated by Stack.
|
||||
# You should not edit this file by hand.
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/lock_files
|
||||
|
||||
packages:
|
||||
- completed:
|
||||
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
|
||||
pantry-tree:
|
||||
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
|
||||
size: 4671
|
||||
original:
|
||||
hackage: brick-2.1.1
|
||||
- completed:
|
||||
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
|
||||
pantry-tree:
|
||||
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
|
||||
size: 2104
|
||||
original:
|
||||
hackage: vty-6.1
|
||||
- completed:
|
||||
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
|
||||
pantry-tree:
|
||||
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
|
||||
size: 582
|
||||
original:
|
||||
hackage: vty-crossplatform-0.4.0.0
|
||||
- completed:
|
||||
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
|
||||
pantry-tree:
|
||||
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
|
||||
size: 1926
|
||||
original:
|
||||
hackage: vty-unix-0.2.0.0
|
||||
- completed:
|
||||
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
|
||||
pantry-tree:
|
||||
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
|
||||
size: 2160
|
||||
original:
|
||||
hackage: vty-windows-0.2.0.0
|
||||
- completed:
|
||||
hackage: text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
|
||||
pantry-tree:
|
||||
sha256: c8e30137f3b5aae8b21ada32551f5d879bdf56165c0b42548fb1832011a60c57
|
||||
size: 604
|
||||
original:
|
||||
hackage: text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
|
||||
size: 650475
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
|
||||
original: lts-20.26
|
22
stack-9.4.7.yaml
Normal file
22
stack-9.4.7.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
resolver: lts-21.20
|
||||
|
||||
nix:
|
||||
pure: false
|
||||
packages:
|
||||
- pkg-config
|
||||
- zlib
|
||||
|
||||
packages:
|
||||
- ./sandwich
|
||||
- ./sandwich-hedgehog
|
||||
- ./sandwich-quickcheck
|
||||
- ./sandwich-slack
|
||||
- ./sandwich-webdriver
|
||||
|
||||
extra-deps:
|
||||
- brick-2.1.1
|
||||
- vty-6.1
|
||||
- vty-crossplatform-0.4.0.0
|
||||
- vty-unix-0.2.0.0
|
||||
- vty-windows-0.2.0.0
|
47
stack-9.4.7.yaml.lock
Normal file
47
stack-9.4.7.yaml.lock
Normal file
@ -0,0 +1,47 @@
|
||||
# This file was autogenerated by Stack.
|
||||
# You should not edit this file by hand.
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/lock_files
|
||||
|
||||
packages:
|
||||
- completed:
|
||||
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
|
||||
pantry-tree:
|
||||
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
|
||||
size: 4671
|
||||
original:
|
||||
hackage: brick-2.1.1
|
||||
- completed:
|
||||
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
|
||||
pantry-tree:
|
||||
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
|
||||
size: 2104
|
||||
original:
|
||||
hackage: vty-6.1
|
||||
- completed:
|
||||
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
|
||||
pantry-tree:
|
||||
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
|
||||
size: 582
|
||||
original:
|
||||
hackage: vty-crossplatform-0.4.0.0
|
||||
- completed:
|
||||
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
|
||||
pantry-tree:
|
||||
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
|
||||
size: 1926
|
||||
original:
|
||||
hackage: vty-unix-0.2.0.0
|
||||
- completed:
|
||||
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
|
||||
pantry-tree:
|
||||
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
|
||||
size: 2160
|
||||
original:
|
||||
hackage: vty-windows-0.2.0.0
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: 5921ddc75f5dd3f197fbc32e1e5676895a8e7b971d4f82ef6b556657801dd18a
|
||||
size: 640054
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/20.yaml
|
||||
original: lts-21.20
|
22
stack-9.6.3.yaml
Normal file
22
stack-9.6.3.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
resolver: nightly-2023-11-18
|
||||
|
||||
nix:
|
||||
pure: false
|
||||
packages:
|
||||
- pkg-config
|
||||
- zlib
|
||||
|
||||
packages:
|
||||
- ./sandwich
|
||||
- ./sandwich-hedgehog
|
||||
- ./sandwich-quickcheck
|
||||
- ./sandwich-slack
|
||||
- ./sandwich-webdriver
|
||||
|
||||
extra-deps:
|
||||
- brick-2.1.1
|
||||
- vty-6.1
|
||||
- vty-crossplatform-0.4.0.0
|
||||
- vty-unix-0.2.0.0
|
||||
- vty-windows-0.2.0.0
|
47
stack-9.6.3.yaml.lock
Normal file
47
stack-9.6.3.yaml.lock
Normal file
@ -0,0 +1,47 @@
|
||||
# This file was autogenerated by Stack.
|
||||
# You should not edit this file by hand.
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/lock_files
|
||||
|
||||
packages:
|
||||
- completed:
|
||||
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
|
||||
pantry-tree:
|
||||
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
|
||||
size: 4671
|
||||
original:
|
||||
hackage: brick-2.1.1
|
||||
- completed:
|
||||
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
|
||||
pantry-tree:
|
||||
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
|
||||
size: 2104
|
||||
original:
|
||||
hackage: vty-6.1
|
||||
- completed:
|
||||
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
|
||||
pantry-tree:
|
||||
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
|
||||
size: 582
|
||||
original:
|
||||
hackage: vty-crossplatform-0.4.0.0
|
||||
- completed:
|
||||
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
|
||||
pantry-tree:
|
||||
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
|
||||
size: 1926
|
||||
original:
|
||||
hackage: vty-unix-0.2.0.0
|
||||
- completed:
|
||||
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
|
||||
pantry-tree:
|
||||
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
|
||||
size: 2160
|
||||
original:
|
||||
hackage: vty-windows-0.2.0.0
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: 1463586282ec6c65bd8f375be6c23560720a59d957b1a8401a861a4f09fdc196
|
||||
size: 698983
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2023/11/18.yaml
|
||||
original: nightly-2023-11-18
|
@ -1,41 +0,0 @@
|
||||
|
||||
# resolver: lts-19.7
|
||||
resolver: nightly-2022-09-04
|
||||
|
||||
packages:
|
||||
- ./sandwich
|
||||
- ./sandwich-hedgehog
|
||||
- ./sandwich-quickcheck
|
||||
- ./sandwich-slack
|
||||
- ./sandwich-webdriver
|
||||
|
||||
- ./sandwich-demos
|
||||
|
||||
- ./demos/demo-basic
|
||||
- ./demos/demo-command-line-args
|
||||
- ./demos/demo-contexts
|
||||
- ./demos/demo-context-dependencies
|
||||
- ./demos/demo-context-nested-dependencies
|
||||
- ./demos/demo-custom-exceptions
|
||||
- ./demos/demo-discover
|
||||
- ./demos/demo-golden
|
||||
- ./demos/demo-hedgehog
|
||||
- ./demos/demo-landing
|
||||
- ./demos/demo-paralleln
|
||||
- ./demos/demo-quickcheck
|
||||
- ./demos/demo-slack
|
||||
- ./demos/demo-timing
|
||||
- ./demos/demo-timing-parallel
|
||||
- ./demos/demo-tui
|
||||
- ./demos/demo-webdriver
|
||||
- ./demos/demo-webdriver-landing
|
||||
- ./demos/demo-webdriver-pool
|
||||
- ./demos/demo-webdriver-positioning
|
||||
- ./demos/demo-webdriver-video
|
||||
|
||||
extra-deps:
|
||||
# Because upstream hs-webdriver has a few bugs and seems unmaintained
|
||||
- git: https://github.com/haskell-webdriver/haskell-webdriver
|
||||
commit: c60fd08c7d383841b5ef6a57d7b010da9489d6db
|
||||
|
||||
- brick-1.1@sha256:a4d13f2ae42acb61bb9850033181059e0cd0ed34ded39154f72cdbc7d083dc0b,17828
|
@ -1,30 +0,0 @@
|
||||
# This file was autogenerated by Stack.
|
||||
# You should not edit this file by hand.
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/lock_files
|
||||
|
||||
packages:
|
||||
- completed:
|
||||
commit: c60fd08c7d383841b5ef6a57d7b010da9489d6db
|
||||
git: https://github.com/haskell-webdriver/haskell-webdriver
|
||||
name: webdriver
|
||||
pantry-tree:
|
||||
sha256: 44e786f50040e7ce8236aa9687791d8e199a8e9ee2248a117a943fb8a0bb6392
|
||||
size: 3068
|
||||
version: 0.10.0.1
|
||||
original:
|
||||
commit: c60fd08c7d383841b5ef6a57d7b010da9489d6db
|
||||
git: https://github.com/haskell-webdriver/haskell-webdriver
|
||||
- completed:
|
||||
hackage: brick-1.1@sha256:a4d13f2ae42acb61bb9850033181059e0cd0ed34ded39154f72cdbc7d083dc0b,17828
|
||||
pantry-tree:
|
||||
sha256: 7267fcc9b1c23186c996ff998aeafe88832e0f11595a9b00d3cc783777b930da
|
||||
size: 6686
|
||||
original:
|
||||
hackage: brick-1.1@sha256:a4d13f2ae42acb61bb9850033181059e0cd0ed34ded39154f72cdbc7d083dc0b,17828
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: 493243cccbb79ce8a7fc9850522a0b565139237ae5587edf05880791e952077b
|
||||
size: 633902
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/9/4.yaml
|
||||
original: nightly-2022-09-04
|
Loading…
Reference in New Issue
Block a user