Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented review feedback for PR #55 #63

Merged
merged 13 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/check-datasources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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 * * *'

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

# - name: Run integration tests (only)
# run: |
# pip install -r test/requirements.txt
# pytest -m "integration_test"

- name: "[DE/BNA] Real data validity checks"
run: |
pip install -r test/requirements.txt
pytest tests/integration/test_int_de_bna.py
33 changes: 18 additions & 15 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,27 @@ env:
DB_PORT: 54322
DB_USER: docker
DB_PASSWORD: docker
DB_SCHEMA: friendly_fox

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9.18"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Run tests
run: |
pip install -r test/requirements.txt
pytest
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9.18"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt

- name: Run tests
run: |
pip install -r test/requirements.txt
pytest
Loading