Skip to content

Commit

Permalink
Host specified for githuib actions
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-andersson committed Feb 11, 2025
1 parent af0d7a9 commit 3ddce70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/unittesting-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
env:
UNITTEST_DBUSER: unittest_username
UNITTEST_DBPASS: unittest_password
UNITTEST_POSTGRESHOST: postgres
run: |
pytest fedn/tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
2 changes: 1 addition & 1 deletion fedn/tests/stores/helpers/database_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def postgres_config():
"username": os.environ.get("UNITTEST_DBUSER", "_"),
"password": os.environ.get("UNITTEST_DBPASS", "_"),
"database": "fedn_db",
"host": "localhost",
"host": os.environ.get("UNITTEST_POSTGRESHOST", "localhost"),
"port": port
}
}
Expand Down

0 comments on commit 3ddce70

Please sign in to comment.