Remove .travis.yml
[EVA-2020-02-2.git] / .github / workflows / test.yml
... / ...
CommitLineData
1name: Python Tests
2
3on:
4 pull_request:
5 push:
6 branches:
7 - master
8
9jobs:
10 test:
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 python: [2.7, 3.4, 3.5, 3.7, 3.8]
15
16 steps:
17 - uses: actions/checkout@v2
18 - name: Set up Python ${{ matrix.python }}
19 uses: actions/setup-python@v2
20 with:
21 python-version: ${{ matrix.python }}
22 - name: Install Dependencies
23 run: |
24 python -m pip install --upgrade setuptools tox
25 - name: Run Tests
26 working-directory: library
27 run: |
28 tox -e py
29 - name: Coverage
30 env:
31 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 working-directory: library
33 run: |
34 python -m pip install coveralls
35 coveralls
36 if: ${{ matrix.python == '3.8' }}
37