Skip to content

Update docutils requirement from <0.18 to <0.21 #414

Update docutils requirement from <0.18 to <0.21

Update docutils requirement from <0.18 to <0.21 #414

Workflow file for this run

# This file is managed by 'repo_helper'. Don't edit it directly.
---
name: Windows
on:
push:
branches-ignore:
- 'repo-helper-update'
- 'pre-commit-ci-update-config'
- 'imgbot'
pull_request:
permissions:
actions: write
issues: write
contents: read
jobs:
tests:
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
strategy:
fail-fast: False
matrix:
config:
- {python-version: "3.6", testenvs: "py36-attrs{21.2,21.4,22.2,latest},py36-mypy{0.900,0.910,0.921,0.931},build", experimental: False}
- {python-version: "3.7", testenvs: "py37-attrs{21.2,21.4,22.2,latest},py37-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1},build", experimental: False}
- {python-version: "3.8", testenvs: "py38-attrs{21.2,21.4,22.2,latest},py38-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-attrs{21.2,21.4,22.2,latest},py39-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-attrs{21.2,21.4,22.2,latest},py310-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: False}
- {python-version: "3.11", testenvs: "py311-attrs{21.2,21.4,22.2,latest},py311-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: False}
- {python-version: "3.12", testenvs: "py312-attrs{21.2,21.4,22.2,latest},py312-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: True}
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-attrs{21.2,21.4,22.2,latest},py313-dev-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,latest},build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36-attrs{21.2,21.4,22.2,latest}", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37-attrs{21.2,21.4,22.2,latest},build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38-attrs{21.2,21.4,22.2,latest},build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39-attrs{21.2,21.4,22.2,latest},build", experimental: True}
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
uses: dorny/paths-filter@v2
id: changes
with:
list-files: "json"
filters: |
code:
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.config.python-version }}"
- name: Install dependencies 🔧
if: steps.setup-python.outcome == 'success'
run: |
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
if: steps.setup-python.outcome == 'success'
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
- name: "Upload Coverage 🚀"
uses: actions/upload-artifact@v3
if: ${{ always() && steps.setup-python.outcome == 'success' }}
with:
name: "coverage-${{ matrix.config.python-version }}"
path: .coverage