Skip to content

Pipeline: Fix CAWP error with terms ending in early January #10310

Pipeline: Fix CAWP error with terms ending in early January

Pipeline: Fix CAWP error with terms ending in early January #10310

Workflow file for this run

name: RUN Python Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
# only run these tests on pull request if relevant code is changed
- 'airflow/**'
- 'data_server/**'
- 'e2e_tests/**'
- 'exporter/**'
- 'python/**'
- 'run_gcs_to_bq/**'
- 'run_ingestion/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install pytest
pip install -r requirements/tests.txt
pip install python/ingestion python/data_server python/datasources
- name: Run pytest tests in python/ directory
run: pytest python/
- name: Run pytest tests in data_server/ directory
run: |
pip install -r data_server/requirements.txt
pytest data_server/
- name: Run pytest tests in exporter directory
run: |
pip install -r exporter/requirements.txt
pytest exporter/
- name: Run pytest tests in run_gcs_to_bq directory
run: |
pip install -r run_gcs_to_bq/requirements.txt
pytest run_gcs_to_bq/
- name: Run pytest tests in run_ingestion directory
run: |
pip install -r run_ingestion/requirements.txt
pytest run_ingestion/