Skip to content

Refactor tests to build scripts directory for v6 - #129

Merged
d-g-codappix merged 2 commits into
6.xfrom
refactor-tests-to-build-scripts-directory-for-v6
Nov 12, 2026
Merged

d-g-codappix merged 2 commits into
6.xfrom
refactor-tests-to-build-scripts-directory-for-v6

Conversation

@d-g-codappix

Copy link
Copy Markdown
Collaborator

No description provided.

d-g-codappix and others added 2 commits November 12, 2026 14:51
The tests should be executable for local testing and GitHub
Actions with nearly the same context. The composer scripts,
the nix-shell commands and the CI workflow now call the same
scripts in Build/Scripts, which also lift the PHP memory limit.

The composer scripts use the same project:* names as in the main
branch and the other cart extensions. The old test:* scripts for
cgl, lint, phpstan and phpunit are removed, some of them referenced
phpunit configurations that no longer exist.

The unit and functional tests in the CI workflow no longer need
nix and run in a php-version matrix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The acceptance tests were only executable via nix-shell. They now
use Build/Scripts/acceptance.sh like the other tests. The script is
called by the new composer script project:test:acceptance, the
nix-shell command project-test-acceptance and the CI workflow.

The CI workflow no longer needs nix and runs the acceptance tests
in a php-version matrix. On failure the acceptance reports are
uploaded as artifact.

The script stops the php webserver and geckodriver on exit, even
if the tests fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-g-codappix
d-g-codappix merged commit c7d33d3 into 6.x Nov 12, 2026
15 checks passed
@d-g-codappix
d-g-codappix deleted the refactor-tests-to-build-scripts-directory-for-v6 branch November 12, 2026 14:24
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