Skip to content

MNT: Resurrect tox config to cover dev workflows and CI checks #804

MNT: Resurrect tox config to cover dev workflows and CI checks

MNT: Resurrect tox config to cover dev workflows and CI checks #804

Workflow file for this run

name: Miscellaneous checks
# This file runs doctests on the documentation and style checks
on:
push:
branches:
- master
- maint/*
pull_request:
branches:
- master
- maint/*
defaults:
run:
shell: bash
jobs:
misc:
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
matrix:
check: ['style', 'doctest', 'typecheck']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Show tox config
run: pipx run tox c
- name: Show tox config (this call)
run: pipx run tox c -e ${{ matrix.check }}
- name: Run check
run: pipx run tox -e ${{ matrix.check }}