2020-09-07 15:03:56 +02:00
|
|
|
name: unittests
|
2020-09-06 03:54:48 +02:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-09-07 14:57:05 +02:00
|
|
|
python: [3.6, 3.7, 3.8]
|
2020-09-06 03:54:48 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python }}
|
|
|
|
- name: Install Tox and any other packages
|
|
|
|
run: pip install tox
|
|
|
|
- name: Run Tox
|
|
|
|
# Run tox using the version of Python in `PATH`
|
|
|
|
run: tox
|