mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-15 19:06:06 +00:00
.github/workflows/stack.yml: try to avoid rebuilds
This commit is contained in:
parent
6010b2bea5
commit
55af242879
7
.github/workflows/stack.yml
vendored
7
.github/workflows/stack.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
stack test --stack-yaml ${{matrix.stack-yaml}}
|
stack test ihaskell --stack-yaml ${{matrix.stack-yaml}}
|
||||||
|
|
||||||
- name: Run integration test
|
- name: Run integration test
|
||||||
# The test is flaky on GHC 8.0 and 8.2 so we don't run it. As long as the
|
# The test is flaky on GHC 8.0 and 8.2 so we don't run it. As long as the
|
||||||
@ -102,11 +102,10 @@ jobs:
|
|||||||
if: ${{ !contains(fromJSON('["stack/stack-8.0.yaml", "stack/stack-8.2.yaml"]'), matrix.stack-yaml) }}
|
if: ${{ !contains(fromJSON('["stack/stack-8.0.yaml", "stack/stack-8.2.yaml"]'), matrix.stack-yaml) }}
|
||||||
run: |
|
run: |
|
||||||
nix build .#jupyterlab
|
nix build .#jupyterlab
|
||||||
|
|
||||||
stack install --stack-yaml ${{matrix.stack-yaml}}
|
|
||||||
|
|
||||||
export PATH="$(pwd)/result/bin:$(pwd)/.local/bin:$PATH"
|
export PATH="$(pwd)/result/bin:$(pwd)/.local/bin:$PATH"
|
||||||
|
|
||||||
|
stack install ihaskell --stack-yaml ${{matrix.stack-yaml}}
|
||||||
|
|
||||||
ihaskell install --stack --stack-flag="--stack-yaml=$(realpath ${{matrix.stack-yaml}})"
|
ihaskell install --stack --stack-flag="--stack-yaml=$(realpath ${{matrix.stack-yaml}})"
|
||||||
|
|
||||||
# Ensure that IHaskell notebook remains unchanged.
|
# Ensure that IHaskell notebook remains unchanged.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user