Skip to content

Commit db7ba52

Browse files
authored
Install epubcheck for Docutils HEAD tests (sphinx-doc#12272)
1 parent b30088d commit db7ba52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ jobs:
100100
name: Docutils HEAD
101101

102102
steps:
103+
- name: Install epubcheck
104+
run: |
105+
mkdir /tmp/epubcheck && cd /tmp/epubcheck
106+
wget https://github.com/w3c/epubcheck/releases/download/v5.1.0/epubcheck-5.1.0.zip
107+
unzip epubcheck-5.1.0.zip
103108
- uses: actions/checkout@v4
104109
- name: Set up Python
105110
uses: actions/setup-python@v5
@@ -119,6 +124,8 @@ jobs:
119124
run: python -m pytest -vv
120125
env:
121126
PYTHONWARNINGS: "error" # treat all warnings as errors
127+
DO_EPUBCHECK: "1"
128+
EPUBCHECK_PATH: "/tmp/epubcheck/epubcheck-5.1.0/epubcheck.jar"
122129

123130
latex:
124131
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)