Merge pull request #9702 from tk0miya/test_with_docutils-latest

test: Do test with the HEAD of docutils
This commit is contained in:
Takeshi KOMIYA 2021-10-09 13:57:37 +09:00 committed by GitHub
commit 0f0b93df9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

25
.github/workflows/docutils-latest.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Test with the HEAD of docutils
on:
schedule:
- cron: "0 0 * * SUN"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Check Python version
run: python --version
- name: Unpin docutils
run: sed -i -e "s/'docutils>=.*'/'docutils'/" setup.py
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Install dependencies
run: pip install -U tox codecov
- name: Run Tox
run: tox -e du-latest -- -vv

View File

@ -31,6 +31,13 @@ setenv =
commands=
python -X dev -m pytest --durations 25 {posargs}
[testenv:du-latest]
commands =
git clone https://repo.or.cz/docutils.git {temp_dir}/docutils
python -m pip install {temp_dir}/docutils/docutils
rm -rf {temp_dir}/docutils
{[testenv]commands}
[testenv:flake8]
basepython = python3
description =