fix #399
Workflow file for this run
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: CILint | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", 3.11] | |
os: [ubuntu-latest] | |
include: | |
# Use ubuntu 20.04 for python 3.6 (dropped from later versions) | |
- python-version: 3.6 | |
os: ubuntu-20.04 | |
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 | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Check code | |
run: | | |
tox -e check | |
- name: Run unit tests | |
run: | | |
tox -e unit | |
- name: Test documentation build | |
run: | | |
tox -e doc |