-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (29 loc) · 913 Bytes
/
unit_tests.yml
File metadata and controls
30 lines (29 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: unit_tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {name: Linux37, python: '3.7', os: ubuntu-latest, tox: py37}
- {name: Linux38, python: '3.8', os: ubuntu-latest, tox: py38}
- {name: Linux39, python: '3.9', os: ubuntu-latest, tox: py39}
- {name: Linux310, python: '3.10', os: ubuntu-latest, tox: py310}
- {name: Linux311, python: '3.11', os: ubuntu-latest, tox: py311}
- {name: Style, python: '3.11', os: ubuntu-latest, tox: style}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: pip install tox
- name: Run app tox tests
run: |
tox -c data-repos -e ${{ matrix.tox }}