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

update GH unit test workflow DB #27

Merged
merged 14 commits into from
Sep 19, 2024
Merged
8 changes: 1 addition & 7 deletions .github/workflows/check_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- 5432:5432
env:
POSTGRES_PASSWORD: pw
POSTGRES_DB: testdb

steps:
- name: Checkout code
Expand All @@ -40,11 +39,6 @@ jobs:

- name: Run unit tests
env:
MPI_DB_TYPE: postgres
MPI_DBNAME: testdb
MPI_HOST: localhost
MPI_PORT: 5432
MPI_USER: postgres
MPI_PASSWORD: pw
DB_URI: "postgresql+psycopg2://postgres:pw@localhost:5432/postgres"
derekadombek marked this conversation as resolved.
Show resolved Hide resolved
run: |
pytest --cov=recordlinker --cov-report=xml tests/unit
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"fhirpathpy",
"rapidfuzz",
# TODO: replace pyway with alembic for managing database migrations
"pyway"
"pyway==0.3.29"
]

[project.optional-dependencies]
Expand Down
Loading