Show More
@@ -44,9 +44,26 b' jobs:' | |||||
44 | # we must install IPython after ipykernel to get the right versions. |
|
44 | # we must install IPython after ipykernel to get the right versions. | |
45 | python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel |
|
45 | python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel | |
46 | python -m pip install --upgrade 'pytest<7' 'pytest_asyncio<0.21' |
|
46 | python -m pip install --upgrade 'pytest<7' 'pytest_asyncio<0.21' | |
47 | - name: pytest |
|
47 | - name: pytest ipykernel | |
48 | env: |
|
48 | env: | |
49 | COLUMNS: 120 |
|
49 | COLUMNS: 120 | |
50 | run: | |
|
50 | run: | | |
51 | cd ../ipykernel |
|
51 | cd ../ipykernel | |
52 | pytest |
|
52 | pytest | |
|
53 | - name: Install sagemath-repl | |||
|
54 | run: | | |||
|
55 | cd .. | |||
|
56 | git clone --depth 1 https://github.com/sagemath/sage | |||
|
57 | cd sage | |||
|
58 | # We cloned it for the tests, but for simplicity we install the | |||
|
59 | # wheels from PyPI. | |||
|
60 | # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178) | |||
|
61 | pip install --pre "sagemath-repl<10.3b6" "sagemath-environment<10.3b6" | |||
|
62 | # Install optionals that make more tests pass | |||
|
63 | pip install sagemath-categories pillow | |||
|
64 | cd .. | |||
|
65 | - name: Test sagemath-repl | |||
|
66 | run: | | |||
|
67 | cd ../sage/ | |||
|
68 | # From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini | |||
|
69 | sage-runtests -p --environment=sage.all__sagemath_repl --baseline-stats-path=pkgs/sagemath-repl/known-test-failures.json --initial --optional=sage src/sage/repl src/sage/doctest src/sage/misc/sage_input.py src/sage/misc/sage_eval.py |
General Comments 0
You need to be logged in to leave comments.
Login now