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