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 31 32 33 34 35 36 37
|
name: CI
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
name: [py37, py38, py39, blockdiag_dev]
include:
- name: py37
python: 3.7
toxenv: py37
- name: py38
python: 3.8
toxenv: py38
- name: py39
python: 3.9
toxenv: py39
- name: blockdiag_dev
python: 3.9
toxenv: blockdiag_dev
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Check Python version
run: python --version
- name: Install dependencies
run: pip install -U tox
- name: Run Tox
run: tox -e ${{ matrix.toxenv }} -- -vv
|