.github/workflows/ci.yml: don't run sample notebook on GHC 8.0 (#1256)

This commit is contained in:
Vaibhav Sagar 2021-08-23 01:02:19 +10:00 committed by GitHub
parent 804d83f5e4
commit cf46da1856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,13 +82,20 @@ jobs:
stack install gtk2hs-buildtools
stack build hmatrix
stack build --dependencies-only
- name: Run tests
- name: Run Haskell tests
run: |
set -e
stack build ipython-kernel --flag ipython-kernel:examples
stack test --no-terminal
stack test ihaskell --no-terminal
- name: Run integration test
# The test is flaky on GHC 8.0 so we don't run it. As long as the tests
# above pass, it's unlikely that we'll introduce a bug that we will
# only catch through the integration test on this version and not other
# versions.
if: ${{ matrix.versions.stack-yaml != 'stack-8.0.yaml' }}
run: |
set -e
stack build --no-terminal
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install