Skip to content

CI: Add GitHub Actions workflow for PHPUnit (VM, compliance, real, AOT) #47

Description

@PurHur

Context

CircleCI badge exists in README; there is no in-repo GitHub Actions workflow. Project rule asks to run tests before commit—automation should match make test / script/ci-local.sh.

Goal

Run the PHPUnit suites on every push/PR.

Tasks

  • Workflow: install PHP 8.x + extensions, composer install, script/install-llvm9.sh
  • Run vendor/bin/phpunit (or split jobs: unit/compliance vs AOT with LLVM cache)
  • Mark AOT suite as continue-on-error or skip when LLVM unavailable (mirror AotTest::isLlvmReady())
  • Upload .llvm or cache LLVM tarball between runs
  • Badge in README

Acceptance criteria

Green CI on master for VM + compliance + real-world suites; AOT runs when toolchain present.

References

  • phpunit.xml.dist test suites
  • test/aot/AotTest.php

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions