.github/workflows/nix.yml: run tests on GHC 9.10 (#1547)

* .github/workflows/nix.yml: run tests on GHC 9.10

* test/acceptance.nbconvert.sh: update
This commit is contained in:
Vaibhav Sagar 2024-12-29 17:29:05 +11:00 committed by GitHub
parent 7aec9bd6ff
commit b6aaf3d110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -69,7 +69,6 @@ jobs:
- name: Check acceptance test for ${{matrix.env}}
# Don't bother running it with the display envs since we already run it
# with the basic envs, and it doesn't test any display stuff.
# Also disable GHC 9.10 for now
if: ${{ !(contains(matrix.env, fromJSON('"display"')) || contains(matrix.env, fromJSON('"ghc910"'))) }}
if: ${{ !(contains(matrix.env, fromJSON('"display"'))) }}
run: |
nix build .#checks.x86_64-linux.${{matrix.env}} -L

View File

@ -33,8 +33,8 @@ $* --to=notebook --execute --allow-errors test/acceptance.nbconvert.in.ipynb
mv test/acceptance.nbconvert.in.nbconvert.ipynb test/acceptance.nbconvert.out.ipynb
diff \
<(grep -v -e 'version' -e 'Line ' -e 'Integral' -e 'Num' -e 'error' \
<(grep -v -e 'version' -e 'Line ' -e 'Integral' -e 'Num' -e 'Real' -e 'error' \
<(cat test/acceptance.nbconvert.in.ipynb | jq '{"cells": .cells | map(del(.metadata.execution)), "metadata": .metadata}')) \
<(grep -v -e 'version' -e 'Line ' -e 'Integral' -e 'Num' -e 'error' \
<(grep -v -e 'version' -e 'Line ' -e 'Integral' -e 'Num' -e 'Real' -e 'error' \
<(cat test/acceptance.nbconvert.out.ipynb | jq '{"cells": .cells | map(del(.metadata.execution)), "metadata": .metadata}'))