mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 09:22:11 -05:00
test: Do test with the HEAD of docutils
This commit is contained in:
1 parent
c97c488bb6
commit
6fc96f412a
2 files changed
+32
No files matched your search
@@ -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
|
||||
@@ -30,6 +30,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 =
|
||||
|
||||
Reference in new issue
Block a user