##// END OF EJS Templates
Fix small typo: imput -> input (#14363)
Fix small typo: imput -> input (#14363)

File last commit:

r28619:bb79200f
r28692:83ff718a merge
Show More
downstream.yml
69 lines | 2.2 KiB | text/x-yaml | YamlLexer
Matthias Bussonnier
Try to test downstream deps
r27031 name: Run Downstream tests
on:
push:
pull_request:
# Run weekly on Monday at 1:23 UTC
schedule:
- cron: '23 1 * * 1'
workflow_dispatch:
Matthias Bussonnier
SEC: force workflows to be read-only....
r27782 permissions:
contents: read
Matthias Bussonnier
Try to test downstream deps
r27031
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
Matthias Bussonnier
Drop Python 3.9...
r28529 python-version: ["3.10"]
Matthias Bussonnier
Try to test downstream deps
r27031 include:
- os: macos-latest
Matthias Bussonnier
Drop Python 3.9...
r28529 python-version: "3.10"
Matthias Bussonnier
Try to test downstream deps
r27031
steps:
Christian Clauss
Upgrade GitHub Actions
r27724 - uses: actions/checkout@v3
Matthias Bussonnier
Try to test downstream deps
r27031 - name: Set up Python ${{ matrix.python-version }}
Christian Clauss
Upgrade GitHub Actions
r27724 uses: actions/setup-python@v4
Matthias Bussonnier
Try to test downstream deps
r27031 with:
python-version: ${{ matrix.python-version }}
- name: Update Python installer
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install ipykernel
run: |
cd ..
git clone https://github.com/ipython/ipykernel
cd ipykernel
pip install -e .[test]
cd ..
- name: Install and update Python dependencies
run: |
python -m pip install --upgrade -e file://$PWD#egg=ipython[test]
luz paz
Fix various typos...
r27520 # we must install IPython after ipykernel to get the right versions.
Matthias Bussonnier
Try to test downstream deps
r27031 python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel
Matthias Bussonnier
try to fix downstream
r28174 python -m pip install --upgrade 'pytest<7' 'pytest_asyncio<0.21'
Matthias Koeppe
.github/workflows/downstream.yml: Test with sagemath-repl
r28615 - name: pytest ipykernel
Matthias Bussonnier
Try to test downstream deps
r27031 env:
COLUMNS: 120
run: |
cd ../ipykernel
pytest
Matthias Koeppe
.github/workflows/downstream.yml: Test with sagemath-repl
r28615 - name: Install sagemath-repl
run: |
cd ..
git clone --depth 1 https://github.com/sagemath/sage
cd sage
# We cloned it for the tests, but for simplicity we install the
# wheels from PyPI.
Matthias Koeppe
.github/workflows/downstream.yml: Use sage-runtests directly, do not use tox
r28617 # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178)
Matthias Koeppe
.github/workflows/downstream.yml: Pin sagemath-environemnt<10.3b6
r28618 pip install --pre "sagemath-repl<10.3b6" "sagemath-environment<10.3b6"
Matthias Koeppe
.github/workflows/downstream.yml: Test sagemath-repl with sagemath-categories, pillow installed
r28619 # Install optionals that make more tests pass
pip install sagemath-categories pillow
Matthias Koeppe
.github/workflows/downstream.yml: Test with sagemath-repl
r28615 cd ..
Matthias Koeppe
.github/workflows/downstream.yml: Use sage-runtests directly, do not use tox
r28617 - name: Test sagemath-repl
Matthias Koeppe
.github/workflows/downstream.yml: Test with sagemath-repl
r28615 run: |
Matthias Koeppe
.github/workflows/downstream.yml: Use sage-runtests directly, do not use tox
r28617 cd ../sage/
# From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini
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