@@ -192,12 +192,6 @@ jobs:
192192 with :
193193 token : ${{ secrets.PAT_ANDIWAND }}
194194 submodules : true
195- - name : checkout
196- uses : actions/checkout@v4
197- with :
198- repository : opendocument-app/compare-html
199- ref : v1.0.0
200- path : compare-html
201195
202196 - name : ubuntu install tidy
203197 if : runner.os == 'Linux'
@@ -211,7 +205,7 @@ jobs:
211205 with :
212206 python-version : 3.12
213207 - name : install python dependencies
214- run : pip install -r compare-html/requirements.txt
208+ run : pip install htmlcmp==1.0.11
215209
216210 - name : download binaries
217211 uses : actions/download-artifact@v4
@@ -233,29 +227,31 @@ jobs:
233227 working-directory : build/test
234228 run : ./odr_test
235229
236- - name : fix artifact permissions
230+ - name : windows fix artifact permissions
237231 if : runner.os == 'Windows'
238232 run : chmod +x build/test/Release/odr_test.exe
239- - name : test
233+ - name : windows test
240234 if : runner.os == 'Windows'
241235 working-directory : build/test
242236 run : ./Release/odr_test.exe
243237
244238 - name : tidy public test outputs
245- run : python3 -u compare- html/tidy_output.py build/test/output/odr-public/output
239+ run : html-tidy -- html-tidy-config test/scripts/html-tidy-config build/test/output/odr-public/output
246240 - name : compare public test outputs
241+ shell : bash
247242 run : |
248- python3 -u compare-html/compare_output.py \
243+ compare-html \
249244 --driver firefox \
250245 --max-workers 1 \
251246 test/data/reference-output/odr-public/output \
252247 build/test/output/odr-public/output
253248
254249 - name : tidy private test outputs
255- run : python3 -u compare- html/tidy_output.py build/test/output/odr-private/output
250+ run : html-tidy -- html-tidy-config test/scripts/html-tidy-config build/test/output/odr-private/output
256251 - name : compare private test outputs
252+ shell : bash
257253 run : |
258- python3 -u compare-html/compare_output.py \
254+ compare-html \
259255 --driver firefox \
260256 --max-workers 1 \
261257 test/data/reference-output/odr-private/output \
0 commit comments