Skip to content

Merge pull request #9 from djk2/issue_#8 #17

Merge pull request #9 from djk2/issue_#8

Merge pull request #9 from djk2/issue_#8 #17

Workflow file for this run

name: UnitTests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade PIP
run: python -m pip install --upgrade pip
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests
run: |
export PYV="py"`echo "${{ matrix.python-version }}" | tr -d '.'`
tox -e `tox -l | grep $PYV | tr "\n" ","`