Add support to build on Ubuntu Noble / Python 3.8 #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
"on": | |
push: | |
branches: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python-version: 3.7 | |
toxenv: py37 | |
- python-version: 3.8 | |
toxenv: py38 | |
- python-version: 3.9 | |
toxenv: py39 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install tox | |
- name: Run tests | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
run: | | |
tox |