Show More
@@ -0,0 +1,50 b'' | |||||
|
1 | name: Run Downstream tests | |||
|
2 | ||||
|
3 | on: | |||
|
4 | push: | |||
|
5 | pull_request: | |||
|
6 | # Run weekly on Monday at 1:23 UTC | |||
|
7 | schedule: | |||
|
8 | - cron: '23 1 * * 1' | |||
|
9 | workflow_dispatch: | |||
|
10 | ||||
|
11 | ||||
|
12 | jobs: | |||
|
13 | test: | |||
|
14 | runs-on: ${{ matrix.os }} | |||
|
15 | strategy: | |||
|
16 | matrix: | |||
|
17 | os: [ubuntu-latest] | |||
|
18 | python-version: ["3.9"] | |||
|
19 | include: | |||
|
20 | - os: macos-latest | |||
|
21 | python-version: "3.9" | |||
|
22 | ||||
|
23 | steps: | |||
|
24 | - uses: actions/checkout@v2 | |||
|
25 | - name: Set up Python ${{ matrix.python-version }} | |||
|
26 | uses: actions/setup-python@v2 | |||
|
27 | with: | |||
|
28 | python-version: ${{ matrix.python-version }} | |||
|
29 | - name: Update Python installer | |||
|
30 | run: | | |||
|
31 | python -m pip install --upgrade pip setuptools wheel | |||
|
32 | - name: Install ipykernel | |||
|
33 | run: | | |||
|
34 | cd .. | |||
|
35 | git clone https://github.com/ipython/ipykernel | |||
|
36 | cd ipykernel | |||
|
37 | pip install -e .[test] | |||
|
38 | cd .. | |||
|
39 | - name: Install and update Python dependencies | |||
|
40 | run: | | |||
|
41 | python -m pip install --upgrade -e file://$PWD#egg=ipython[test] | |||
|
42 | # we must instal IPython after ipykernel to get the right versions. | |||
|
43 | python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel | |||
|
44 | python -m pip install --upgrade pytest | |||
|
45 | - name: pytest | |||
|
46 | env: | |||
|
47 | COLUMNS: 120 | |||
|
48 | run: | | |||
|
49 | cd ../ipykernel | |||
|
50 | pytest |
General Comments 0
You need to be logged in to leave comments.
Login now