Skip to content

ci: add environment smoke test for PERIGON_API_KEY - #7

Closed
maximedotair wants to merge 1 commit into
goperigon:mainfrom
maximedotair:ci/test-env-smoke
Closed

maximedotair wants to merge 1 commit into
goperigon:mainfrom
maximedotair:ci/test-env-smoke

Conversation

@maximedotair

Copy link
Copy Markdown

Adds a fast-failing guard test so integration tests produce a clear error when PERIGON_API_KEY is missing from the environment, instead of confusing 401s.

  • New file tests/test_ci_environment.py
  • No production code changes

Adds a lightweight guard test that fails fast with a clear message when
the PERIGON_API_KEY environment variable is missing, instead of letting
integration tests fail with confusing auth errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant