Skip to content

Data source validity checks #122

Data source validity checks

Data source validity checks #122

# This workflow checks the data sources for validity
name: Data source validity checks
on:
schedule:
# Runs the workflow every Friday at 8am
- cron: '0 8 * * 5'
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