Skip to content

Commit 6fc96f4

Browse files
committed
test: Do test with the HEAD of docutils
1 parent c97c488 commit 6fc96f4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test with the HEAD of docutils
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * SUN"
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python
15+
uses: actions/setup-python@v2
16+
- name: Check Python version
17+
run: python --version
18+
- name: Unpin docutils
19+
run: sed -i -e "s/'docutils>=.*'/'docutils'/" setup.py
20+
- name: Install graphviz
21+
run: sudo apt-get install graphviz
22+
- name: Install dependencies
23+
run: pip install -U tox codecov
24+
- name: Run Tox
25+
run: tox -e du-latest -- -vv

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ setenv =
3030
commands=
3131
python -X dev -m pytest --durations 25 {posargs}
3232

33+
[testenv:du-latest]
34+
commands =
35+
git clone https://repo.or.cz/docutils.git {temp_dir}/docutils
36+
python -m pip install {temp_dir}/docutils/docutils
37+
rm -rf {temp_dir}/docutils
38+
{[testenv]commands}
39+
3340
[testenv:flake8]
3441
basepython = python3
3542
description =

0 commit comments

Comments
 (0)