Skip to content

Fail on all HTTP error codes in check_url #177

Fail on all HTTP error codes in check_url

Fail on all HTTP error codes in check_url #177

Workflow file for this run

name: CI
on: push
jobs:
integration-tests:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: build image
run: docker build -t zimit .
- name: run crawl
run: docker run -v $PWD/output:/output zimit zimit --url http://isago.rskg.org/ --name isago --zim-file isago.zim --adminEmail [email protected] --mobileDevice "Pixel 5" --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 zimit bash -c "/app/zimit/bin/pip install pytest; /app/zimit/bin/pytest -v ./integration.py"