Skip to content

PHP SDK: run TLS tests in CI #3308

@countradooku

Description

@countradooku

Follow-up from the experimental PHP SDK review.

foreign/php/tests/TlsTest.php skips its TLS tests whenever IGGY_TLS_CONNECTION_STRING is unset, and the PHP pre-merge workflow never sets it. As a result, the PHP TLS tests are currently dead in CI.

Scope

Mirror the node pre-merge action's TLS setup for the PHP action:

  • Start a second Iggy server for the TLS suite with IGGY_TCP_TLS_ENABLED=true.
  • Export IGGY_TLS_CONNECTION_STRING for the PHP tests.
  • Run the PHP TLS test suite against that TLS-enabled server.
  • Stop the TLS server after the suite completes.
  • Keep the existing plain TCP PHP test path intact.

Files of interest

  • .github/actions/php/pre-merge/action.yml
  • foreign/php/tests/TlsTest.php
  • .github/actions/node-npm/pre-merge/action.yml as the reference pattern

Related: #3302
Initial PHP SDK work: #3235

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersphpPull requests that update php code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions