Skip to content

Commit 3dba97f

Browse files
committed
use pypi htmlcmp
1 parent 2de2d33 commit 3dba97f

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/build_test.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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.0
215209

216210
- name: download binaries
217211
uses: actions/download-artifact@v4
@@ -242,20 +236,22 @@ jobs:
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 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_output \
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 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_output \
259255
--driver firefox \
260256
--max-workers 1 \
261257
test/data/reference-output/odr-private/output \

0 commit comments

Comments
 (0)