mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9702 from tk0miya/test_with_docutils-latest
test: Do test with the HEAD of docutils
This commit is contained in:
commit
0f0b93df9e
25
.github/workflows/docutils-latest.yml
vendored
Normal file
25
.github/workflows/docutils-latest.yml
vendored
Normal 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
|
7
tox.ini
7
tox.ini
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user