Skip to content

Commit 33d65fb

Browse files
committed
Merge Docutils master tests into the main workflow
1 parent 69035f5 commit 33d65fb

File tree

3 files changed

+4
-35
lines changed

3 files changed

+4
-35
lines changed

.github/workflows/docutils-latest.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
docutils:
2626
- "du18"
2727
- "du19"
28+
- "du-latest"
2829

2930
steps:
3031
- uses: actions/checkout@v3

tox.ini

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.4.0
3-
envlist = docs,flake8,mypy,twine,py{38,39,310,311,312},du{18,19}
3+
envlist = docs,flake8,mypy,twine,py{38,39,310,311,312},du{18,19,-latest}
44
isolated_build = True
55

66
[testenv]
@@ -19,9 +19,11 @@ passenv =
1919
description =
2020
py{38,39,310,311,312}: Run unit tests against {envname}.
2121
du{18,19}: Run unit tests with the given version of docutils.
22+
du-latest: Run unit tests with Docutils' HEAD
2223
deps =
2324
du18: docutils==0.18.*
2425
du19: docutils==0.19.*
26+
du-latest: git+https://repo.or.cz/docutils.git#subdirectory=docutils
2527
extras =
2628
test
2729
setenv =
@@ -30,11 +32,6 @@ setenv =
3032
commands=
3133
python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
3234
33-
[testenv:du-latest]
34-
commands =
35-
python -m pip install "git+https://repo.or.cz/docutils.git#subdirectory=docutils" --no-warn-conflicts
36-
{[testenv]commands}
37-
3835
[testenv:flake8]
3936
basepython = python3
4037
description =

0 commit comments

Comments
 (0)