Show More
@@ -1,31 +1,33 b'' | |||
|
1 | 1 | name: Run tests |
|
2 | 2 | |
|
3 | 3 | on: [push] |
|
4 | 4 | |
|
5 | 5 | jobs: |
|
6 | 6 | test: |
|
7 | 7 | runs-on: ubuntu-latest |
|
8 | 8 | strategy: |
|
9 | 9 | matrix: |
|
10 | 10 | python-version: [3.7, 3.8, 3.9] |
|
11 | 11 | |
|
12 | 12 | steps: |
|
13 | 13 | - uses: actions/checkout@v2 |
|
14 | 14 | - name: Set up Python ${{ matrix.python-version }} |
|
15 | 15 | uses: actions/setup-python@v2 |
|
16 | 16 | with: |
|
17 | 17 | python-version: ${{ matrix.python-version }} |
|
18 | 18 | - name: Install and update Python dependencies |
|
19 | 19 | run: | |
|
20 | 20 | python -m pip install --upgrade pip |
|
21 | 21 | python -m pip install --upgrade setuptools |
|
22 | 22 | python -m pip install --upgrade -e file://$PWD#egg=ipython[test] |
|
23 | 23 | python -m pip install --upgrade --upgrade-strategy eager trio curio |
|
24 | 24 | python -m pip install --upgrade pytest pytest-trio 'matplotlib!=3.2.0' |
|
25 | 25 | python -m pip install --upgrade codecov check-manifest pytest-cov anyio |
|
26 | - name: Check manifest | |
|
27 | run: check-manifest | |
|
26 | 28 | - name: iptest |
|
27 | 29 | run: | |
|
28 | 30 | cd /tmp && iptest --coverage xml && cd - |
|
29 | 31 | - name: pytest |
|
30 | 32 | run: | |
|
31 | 33 | pytest |
General Comments 0
You need to be logged in to leave comments.
Login now