-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (34 loc) · 968 Bytes
/
check-datasources.yml
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
43
# This workflow checks the data sources for validity
name: Data source validity checks
on:
schedule:
# Runs the workflow every day at midnight
- cron: '0 0 * * *'
env:
DB_NAME: gis
DB_HOST: localhost
DB_PORT: 54322
DB_USER: docker
DB_PASSWORD: docker
DB_SCHEMA: friendly_fox
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9.18
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test/requirements.txt
- name: "[DE/BNA] Data retrieval check"
run: |
python -m pytest tests/integration/test_int_de_bna.py
- name: "[FR] Data retrieval check"
run: |
python -m pytest tests/integration/test_int_fr_france.py