name: Checks on: [push, pull_request] jobs: checks: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: include: - python-version: 3.8 # Keep in sync with .readthedocs.yml env: TOXENV: docs steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Run check env: ${{ matrix.env }} run: | pip install -U tox tox