Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-06-26 00:15:30 +0300
committerGitHub <noreply@github.com>2022-06-26 00:15:30 +0300
commit68bc916cf48e1025692d3fd83fb817a283ec418c (patch)
treebdfe9312e56882e13e15347eb91b80fef48847fb
parent20f52d9fa52363ebac60a28c81dbbc62fcc9fb27 (diff)
Test with Docutils 0.19 prereleases (#10598)
-rw-r--r--.github/workflows/main.yml4
-rw-r--r--tox.ini10
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0b35df84a..a3246960e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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:
@@ -20,6 +20,8 @@ jobs:
docutils: du17
- python: "3.10"
docutils: du18
+ - python: "3.10"
+ docutils: du19pre
- python: "3.11-dev"
docutils: py311
diff --git a/tox.ini b/tox.ini
index e4b2dd70c..8282017e4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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
@@ -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 =
@@ -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 =