##// END OF EJS Templates
stop tesing sage for now
M Bussonnier -
Show More
@@ -1,71 +1,73
1 1 name: Run Downstream tests
2 2
3 3 on:
4 4 push:
5 5 pull_request:
6 6 # Run weekly on Monday at 1:23 UTC
7 7 schedule:
8 8 - cron: '23 1 * * 1'
9 9 workflow_dispatch:
10 10
11 11 permissions:
12 12 contents: read
13 13
14 14 jobs:
15 15 test:
16 16 runs-on: ${{ matrix.os }}
17 17 # Disable scheduled CI runs on forks
18 18 if: github.event_name != 'schedule' || github.repository_owner == 'ipython'
19 19 strategy:
20 20 matrix:
21 21 os: [ubuntu-latest]
22 22 python-version: ["3.10"]
23 23 include:
24 24 - os: macos-13
25 25 python-version: "3.10"
26 26
27 27 steps:
28 28 - uses: actions/checkout@v3
29 29 - name: Set up Python ${{ matrix.python-version }}
30 30 uses: actions/setup-python@v4
31 31 with:
32 32 python-version: ${{ matrix.python-version }}
33 33 - name: Update Python installer
34 34 run: |
35 35 python -m pip install --upgrade pip setuptools wheel
36 36 - name: Install ipykernel
37 37 run: |
38 38 cd ..
39 39 git clone https://github.com/ipython/ipykernel
40 40 cd ipykernel
41 41 pip install -e .[test]
42 42 cd ..
43 43 - name: Install and update Python dependencies
44 44 run: |
45 45 python -m pip install --upgrade -e file://$PWD#egg=ipython[test]
46 46 # we must install IPython after ipykernel to get the right versions.
47 47 python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel
48 48 - name: pytest ipykernel
49 49 env:
50 50 COLUMNS: 120
51 51 run: |
52 52 cd ../ipykernel
53 53 pytest
54 54 - name: Install sagemath-repl
55 55 run: |
56 cd ..
57 git clone --depth 1 https://github.com/sagemath/sage
58 cd sage
59 # We cloned it for the tests, but for simplicity we install the
60 # wheels from PyPI.
61 # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178)
62 pip install --pre sagemath-repl sagemath-environment
63 # Install optionals that make more tests pass
64 pip install pillow
65 pip install --pre sagemath-categories
66 cd ..
56 # Sept 2024, sage has been failing for a while,
57 # Skipping.
58 # cd ..
59 # git clone --depth 1 https://github.com/sagemath/sage
60 # cd sage
61 # # We cloned it for the tests, but for simplicity we install the
62 # # wheels from PyPI.
63 # # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178)
64 # pip install --pre sagemath-repl sagemath-environment
65 # # Install optionals that make more tests pass
66 # pip install pillow
67 # pip install --pre sagemath-categories
68 # cd ..
67 69 - name: Test sagemath-repl
68 70 run: |
69 cd ../sage/
70 # From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini
71 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
71 # cd ../sage/
72 # # From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini
73 # 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