Skip to content

ci: add API and CLI acceptance tests - #41598

Closed
phil-davis wants to merge 29 commits into
masterfrom
api-cli-acceptance
Closed

phil-davis wants to merge 29 commits into
masterfrom
api-cli-acceptance

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

TBD

@phil-davis
phil-davis force-pushed the api-cli-acceptance branch from 78cdc92 to 7e23d46 Compare June 8, 2026 16:41
phil-davis added 27 commits June 9, 2026 11:51
Bump to the current minor releases. This is what is used in reality
in CI, so record that here to make sure that everyone is using at
least these versions.
Because 7.4.12 has a limit of 128 on the number of collection aliases.
And we need over 200.
A way to configure this may be needed.
Using YML for the Behat config has b een deprecated.
So make the change to Behat PHP config.
The names were long, and it gets hard to view and find the
workflows in the list on a PR.
and fixup the color command variables in the acceptance test
script so that they contain the actual escape sequences for
selecting the required colors.
@phil-davis
phil-davis force-pushed the api-cli-acceptance branch from 7e23d46 to 4e01096 Compare June 9, 2026 03:50
@phil-davis

Copy link
Copy Markdown
Contributor Author

Note: each acceptance test job is taking about 150 to 180 seconds to get everything set up, dependencies loaded etc until the first acceptance test scenario actually runs.

There are about 60 acceptance test suites. Currently, each in its own workflow job. I guess that we will maybe have a maximum of 30 or 40 runners available. So it will be more time efficient to put 2 test suites into one job.

This reduces the number of job pipelines needed.
Which reduces the number of times the server setup has to be done.

The test suites are grouped so that the run time of each workflow
job will be 30 to 40 minutes.
@phil-davis

Copy link
Copy Markdown
Contributor Author

That LGTM. Most of the pipelines take 25 to 45 minutes. A couple are shorter.
There are 29 pipelines. Maybe that will be feasible to run as needed.

PR #41607 enhances this to be able to run just the smoke tests, and have the option to run the full acceptance test suite.

@phil-davis

Copy link
Copy Markdown
Contributor Author

Merged in PR #41607

@phil-davis phil-davis closed this Jun 10, 2026
@phil-davis
phil-davis deleted the api-cli-acceptance branch June 10, 2026 02:32
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