mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
Updated test to new stats files
- verify output of crawl, warc2zim and zimit file - using a simpler tag for CI test image as to not confuse it with public image
This commit is contained in:
parent
3ffa34d46e
commit
85fad62b61
2 changed files with 14 additions and 4 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -10,10 +10,10 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: build image
|
||||
run: docker build -t openzim/zimit:dev .
|
||||
run: docker build -t zimit .
|
||||
|
||||
- name: run crawl
|
||||
run: docker run -v $PWD/output:/output openzim/zimit:dev zimit --url http://isago.ml/ --name isago --zim-file isago.zim --adminEmail test@example.com --mobileDevice --statsFilename /output/stats.json --keep
|
||||
run: docker run -v $PWD/output:/output zimit zimit --url http://isago.ml/ --name isago --zim-file isago.zim --adminEmail test@example.com --mobileDevice --statsFilename /output/stats.json --keep
|
||||
|
||||
- name: run integration test suite
|
||||
run: docker run -v $PWD/test/integration.py:/app/integration.py -v $PWD/output:/output openzim/zimit:dev bash -c "pip install pytest; pytest -v ./integration.py"
|
||||
run: docker run -v $PWD/test/integration.py:/app/integration.py -v $PWD/output:/output zimit bash -c "pip install pytest; pytest -v ./integration.py"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue