Library Check #624
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Library Check | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
push: | |
branches: | |
- main | |
jobs: | |
library: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install dependencies | |
run: pip install -r test-suite/requirements.txt | |
- name: Test library.kiwix.org | |
working-directory: test-suite | |
run: pytest -vvv test_library.py | |
dev-library: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install dependencies | |
run: pip install -r test-suite/requirements.txt | |
- name: Test dev.library.kiwix.org | |
working-directory: test-suite | |
env: | |
SCHEMES: http,https | |
LIBRARY_HOST: dev.library.kiwix.org | |
TIMEOUT: 30 | |
run: pytest -vvv -m "not varnish" test_library.py |