Skip to content

Disable PHPUnit result cache in phpunit workflow - #9

Merged
agileware-justin merged 1 commit into
mainfrom
phpunit-no-result-cache
Oct 1, 2026
Merged

agileware-justin merged 1 commit into
mainfrom
phpunit-no-result-cache

Conversation

@agileware-justin

Copy link
Copy Markdown
Contributor

Adds --do-not-cache-result to the phpunit9 call in civicrm-phpunit-tests.yml.

The extension directory is a bind mount owned by the runner user, so www-data cannot write .phpunit.result.cache there and PHPUnit logged a file_put_contents ... Permission denied warning on every run. The cache is not useful in ephemeral CI, so it is disabled.

www-data cannot write to the bind-mounted extension directory, so PHPUnit
warned about failing to write .phpunit.result.cache on every run.
@agileware-justin
agileware-justin merged commit 0656838 into main Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant