-
[OPIK-3308] [P SDK] Implement skipping of library integration tests if specific credentials are not provided (#4268)
发布于
2025-11-28 15:26:56 +00:00 - [OPIK-3308] [P SDK] Add session-wide package skip for integration tests based on OpenAI API key presence
- Introduced
skip_all_tests_in_packagesession fixture to skip test packages when no OpenAI credentials are found. - Added
should_skip_packageutility to validate OpenAI API key availability. - Applied changes to library and E2E integration test configurations.
- [OPIK-3308] [P SDK] Refactor library integration test skip condition
- Replaced
should_skip_packagewithshould_skip_library_integration_testsfor consistency and reuse. - Centralized logic to check for OpenAI API key availability in
environment.py. - Updated fixtures in library and E2E integration test configurations to use the new method.
- [OPIK-3308] [P SDK] Add OpenAI API Key validation in SDK E2E library tests workflow.
- Introduced
check_api_keyjob to print a warning. - Updated
run_e2e_lib_integrationjob to conditionally execute based on API key availability.
-
[OPIK-3308] [P SDK] Test run
-
[OPIK-3308] [P SDK] Test run
-
[OPIK-3308] [P SDK] Test run
-
Update sdk-e2e-library-tests.yaml
-
[OPIK-3308] [P SDK] Test run
-
[OPIK-3308] [P SDK] Test run
-
[OPIK-3308] [P SDK] Removed obsolete skip all tests fixtures
-
[OPIK-3308] [P SDK] Rename API key warning steps in workflows for clarity. Added permissions.
-
[OPIK-3308] [P SDK] Test run
-
[OPIK-3308] Add 'needs' dependency for key validation in workflows
- Updated SDK E2E and library integration test workflows to include 'needs' dependencies for the
has_needed_secretsjob.
-
[OPIK-3308] Removed obsolete
-
[OPIK-3308] Fix SDK E2E and library integration workflows to properly check
has_needed_secretscondition
下载附件