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