Skip to content

Commit dd80af9

Browse files
authored
move test scripts (#426)
1 parent dcd8141 commit dd80af9

14 files changed

Lines changed: 11 additions & 976 deletions

.github/workflows/build_test.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ 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
195201

196202
- name: ubuntu install tidy
197203
if: runner.os == 'Linux'
@@ -205,7 +211,7 @@ jobs:
205211
with:
206212
python-version: 3.12
207213
- name: install python dependencies
208-
run: pip install -r test/scripts/requirements.txt
214+
run: pip install -r compare-html/requirements.txt
209215

210216
- name: download binaries
211217
uses: actions/download-artifact@v4
@@ -236,20 +242,20 @@ jobs:
236242
run: ./Release/odr_test.exe
237243

238244
- name: tidy public test outputs
239-
run: python3 -u test/scripts/tidy_output.py build/test/output/odr-public/output
245+
run: python3 -u compare-html/tidy_output.py build/test/output/odr-public/output
240246
- name: compare public test outputs
241247
run: |
242-
python3 -u test/scripts/compare_output.py \
248+
python3 -u compare-html/compare_output.py \
243249
--driver firefox \
244250
--max-workers 1 \
245251
test/data/reference-output/odr-public/output \
246252
build/test/output/odr-public/output
247253
248254
- name: tidy private test outputs
249-
run: python3 -u test/scripts/tidy_output.py build/test/output/odr-private/output
255+
run: python3 -u compare-html/tidy_output.py build/test/output/odr-private/output
250256
- name: compare private test outputs
251257
run: |
252-
python3 -u test/scripts/compare_output.py \
258+
python3 -u compare-html/compare_output.py \
253259
--driver firefox \
254260
--max-workers 1 \
255261
test/data/reference-output/odr-private/output \

.github/workflows/docker.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

test/docker/Dockerfile

Lines changed: 0 additions & 60 deletions
This file was deleted.

test/docker/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/docker/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

test/scripts/.html-tidy

Lines changed: 0 additions & 99 deletions
This file was deleted.

test/scripts/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/scripts/common.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)