Skip to content

Commit

Permalink
Try using env.HOME context
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Feb 12, 2024
1 parent d70eeb6 commit 80f07e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Cache sample files
- name: Restore sample files
id: cache-samples
uses: actions/cache@v4
with:
path: .config/sdss
path: ${{ env.HOME }}/.config/sdss
key: ${{ runner.os }}-config-sdss

- name: Install Postgresql
Expand Down
3 changes: 0 additions & 3 deletions tests/scripts/create_test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ def create_test_database(

if os.environ.get("CI") == "true":
log.warning("Running in CI.")
# user = "postgres"
# host = "localhost"
# port = 5432

log.info("Verifying that the database exists.")

Expand Down

0 comments on commit 80f07e9

Please sign in to comment.