| 1 |
name: Python Tests |
| 2 |
on: |
| 3 |
push: |
| 4 |
branches: [ main ] |
| 5 |
pull_request: |
| 6 |
branches: [ main ] |
| 7 |
jobs: |
| 8 |
build: |
| 9 |
runs-on: ${{ matrix.os }} |
| 10 |
strategy: |
| 11 |
matrix: |
| 12 |
os: [ubuntu-latest] |
| 13 |
python-version: ['2.x', '3.x', 3.7, 3.8, 3.9] |
| 14 |
steps: |
| 15 |
- uses: actions/checkout@v2 |
| 16 |
- name: Set up Python ${{ matrix.python-version }} |
| 17 |
uses: actions/setup-python@v2 |
| 18 |
with: |
| 19 |
python-version: ${{ matrix.python-version }} |
| 20 |
- name: Install dependencies |
| 21 |
run: make deps |
| 22 |
- name: Run tests |
| 23 |
run: make test |