Skip to content

Commit

Permalink
Test with Docutils 0.19 prereleases (#10598)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jun 25, 2022
1 parent 20f52d9 commit 68bc916
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-18.04
name: Python ${{ matrix.python }}
name: Python ${{ matrix.python }} (${{ matrix.docutils }})
strategy:
fail-fast: false
matrix:
Expand All @@ -20,6 +20,8 @@ jobs:
docutils: du17
- python: "3.10"
docutils: du18
- python: "3.10"
docutils: du19pre
- python: "3.11-dev"
docutils: py311

Expand Down
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 2.4.0
envlist = docs,flake8,mypy,twine,py{36,37,38,39,310},du{14,15,16,17,18}
envlist = docs,flake8,mypy,twine,py{36,37,38,39,310},du{14,15,16,17,18,19}

[testenv]
usedevelop = True
Expand All @@ -16,13 +16,14 @@ passenv =
TERM
description =
py{36,37,38,39,310}: Run unit tests against {envname}.
du{14,15,16,17,18}: Run unit tests with the given version of docutils.
du{14,15,16,17,18,19}: Run unit tests with the given version of docutils.
deps =
du14: docutils==0.14.*
du15: docutils==0.15.*
du16: docutils==0.16.*
du17: docutils==0.17.*
du18: docutils==0.18.*
du19: docutils==0.19.*
extras =
test
setenv =
Expand All @@ -36,6 +37,11 @@ commands =
python -m pip install "git+https://repo.or.cz/docutils.git#subdirectory=docutils"
{[testenv]commands}

[testenv:du19pre]
commands =
python -m pip install --pre "docutils==0.19.*"
{[testenv]commands}

[testenv:flake8]
basepython = python3
description =
Expand Down

0 comments on commit 68bc916

Please sign in to comment.