Hi Matt
The new framework is a significant improvement as it's more flexible and has fewer pitfalls. For example, it's very convenient that you no longer have to specify the Ubuntu package (version), as this changes from time to time.
I don't necessarily need the test framework myself, as I (as you know) use my phpBB Ext Check for basic tests. However, I have still configured the previous phpBB GitHub Actions framework for all my published exts as an additional and independent check. For example:
https://github.com/LukeWCS/lf-who-was-h ... /tests.yml
Now, of course, I want to convert all repositories to the new framework, and for testing, I use a private test repository. It already works perfectly there, with the following
Now, however, I would like to run the basic tests with PHP 8.4 (as with Ext Check). However, if I set
Then I remembered that Skouat wrote in the EPV repo that the following needs to be added:
The new framework is a significant improvement as it's more flexible and has fewer pitfalls. For example, it's very convenient that you no longer have to specify the Ubuntu package (version), as this changes from time to time.
I don't necessarily need the test framework myself, as I (as you know) use my phpBB Ext Check for basic tests. However, I have still configured the previous phpBB GitHub Actions framework for all my published exts as an additional and independent check. For example:
https://github.com/LukeWCS/lf-who-was-h ... /tests.yml
Now, of course, I want to convert all repositories to the new framework, and for testing, I use a private test repository. It already works perfectly there, with the following
tests.yml
:Code:
name: Testson: push: branches: # Run tests when commits are pushed to these branches in your repo - main - master - develop - dev/* pull_request: # Run tests when pull requests are made on these branches in your repo branches: - main - master - develop - dev/*jobs: call-tests: name: Extension tests uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x # Must match PHPBB_BRANCH with: EXTNAME: lukewcs/whowashere # Your extension vendor/package name PHPBB_BRANCH: 3.3.x # The phpBB branch to run tests on RUN_MYSQL_JOBS: 0 RUN_PGSQL_JOBS: 0 RUN_MSSQL_JOBS: 0 RUN_WINDOWS_JOBS: 0 PRIMARY_PHP_VERSION: '7.4'
PRIMARY_PHP_VERSION
to 8.4, an error message is thrown in the GH Actions job for EPV:Code:
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires phpbb/epv dev-master -> satisfiable by phpbb/epv[dev-master]. - phpbb/epv dev-master requires nikic/php-parser ^4.0 -> found nikic/php-parser[v4.0.0, ..., v4.19.4] but the package is fixed to v5.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.Error: Your requirements could not be resolved to an installable set of packages.
--with-all-dependencies
. Since this is actually a CLI parameter for Composer, I have no idea where or how to add it into the tests.yml
, so I need help.Statistics: Posted by LukeWCS — Sun May 11, 2025 11:17 am