发布

  • [OPIK-3308] Implement skipping of library integration tests if specific credentials are not provided (#4263)

    frostbyte_neo 发布于 2025-11-28 14:59:16 +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_package session fixture to skip test packages when no OpenAI credentials are found.
    • Added should_skip_package utility 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_package with should_skip_library_integration_tests for 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_key job to print a warning.
    • Updated run_e2e_lib_integration job 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.

    下载附件