Show More
@@ -1,70 +1,70 b'' | |||
|
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 |
- os: macos- |
|
|
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 | 56 | cd .. |
|
57 | 57 | git clone --depth 1 https://github.com/sagemath/sage |
|
58 | 58 | cd sage |
|
59 | 59 | # We cloned it for the tests, but for simplicity we install the |
|
60 | 60 | # wheels from PyPI. |
|
61 | 61 | # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178) |
|
62 | 62 | pip install --pre "sagemath-repl<10.3b6" "sagemath-environment<10.3b6" |
|
63 | 63 | # Install optionals that make more tests pass |
|
64 | 64 | pip install sagemath-categories pillow |
|
65 | 65 | cd .. |
|
66 | 66 | - name: Test sagemath-repl |
|
67 | 67 | run: | |
|
68 | 68 | cd ../sage/ |
|
69 | 69 | # From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini |
|
70 | 70 | 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