mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Test with Docutils 0.19 prereleases (#10598)
This commit is contained in:
parent
20f52d9fa5
commit
68bc916cf4
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
|
10
tox.ini
10
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 =
|
||||
|
Loading…
Reference in New Issue
Block a user