##// END OF EJS Templates
try to fix downstream
Matthias Bussonnier -
Show More
@@ -1,52 +1,52 b''
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 strategy:
17 strategy:
18 matrix:
18 matrix:
19 os: [ubuntu-latest]
19 os: [ubuntu-latest]
20 python-version: ["3.9"]
20 python-version: ["3.9"]
21 include:
21 include:
22 - os: macos-latest
22 - os: macos-latest
23 python-version: "3.9"
23 python-version: "3.9"
24
24
25 steps:
25 steps:
26 - uses: actions/checkout@v3
26 - uses: actions/checkout@v3
27 - name: Set up Python ${{ matrix.python-version }}
27 - name: Set up Python ${{ matrix.python-version }}
28 uses: actions/setup-python@v4
28 uses: actions/setup-python@v4
29 with:
29 with:
30 python-version: ${{ matrix.python-version }}
30 python-version: ${{ matrix.python-version }}
31 - name: Update Python installer
31 - name: Update Python installer
32 run: |
32 run: |
33 python -m pip install --upgrade pip setuptools wheel
33 python -m pip install --upgrade pip setuptools wheel
34 - name: Install ipykernel
34 - name: Install ipykernel
35 run: |
35 run: |
36 cd ..
36 cd ..
37 git clone https://github.com/ipython/ipykernel
37 git clone https://github.com/ipython/ipykernel
38 cd ipykernel
38 cd ipykernel
39 pip install -e .[test]
39 pip install -e .[test]
40 cd ..
40 cd ..
41 - name: Install and update Python dependencies
41 - name: Install and update Python dependencies
42 run: |
42 run: |
43 python -m pip install --upgrade -e file://$PWD#egg=ipython[test]
43 python -m pip install --upgrade -e file://$PWD#egg=ipython[test]
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'
46 python -m pip install --upgrade 'pytest<7' 'pytest_asyncio<0.21'
47 - name: pytest
47 - name: pytest
48 env:
48 env:
49 COLUMNS: 120
49 COLUMNS: 120
50 run: |
50 run: |
51 cd ../ipykernel
51 cd ../ipykernel
52 pytest
52 pytest
General Comments 0
You need to be logged in to leave comments. Login now