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