-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1009 Bytes
/
library_check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
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"