Skip to content

Commit

Permalink
add debug statements to find where env variable is lost
Browse files Browse the repository at this point in the history
  • Loading branch information
robinholzi committed Nov 29, 2023
1 parent d4fb23a commit 7337676
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ jobs:
fi
export QUETZ_IS_TEST=1
echo "S3_BUCKET_NAME: $S3_BUCKET_NAME"
echo "QUETZ_S3_BUCKET_NAME: $QUETZ_S3_BUCKET_NAME"
pytest -v ./quetz/tests/ --cov-config=pyproject.toml --cov=. --cov-report=xml
- name: Test the plugins
Expand Down
3 changes: 3 additions & 0 deletions quetz/tests/test_pkg_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ def test_remove_dirs(any_store, channel_name):

@pytest.fixture
def s3_store():
print(">>> s3_config", s3_config)
print(">>> s3_config.bucket_name", s3_config.get("bucket_name"))
print(">>> s3_config | os.environ", os.environ)
pkg_store = S3Store(s3_config)
return pkg_store

Expand Down

0 comments on commit 7337676

Please sign in to comment.