Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP 8.4 to workflows #65

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

andypost
Copy link
Contributor

Follow-up to #64 (comment)

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.80%. Comparing base (248567e) to head (9b02953).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #65   +/-   ##
=========================================
  Coverage     86.80%   86.80%           
  Complexity      167      167           
=========================================
  Files            15       15           
  Lines           379      379           
=========================================
  Hits            329      329           
  Misses           50       50           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andypost andypost force-pushed the ci-8.4 branch 2 times, most recently from e0f13f6 to f3189ae Compare July 24, 2024 02:22
@andypost andypost marked this pull request as ready for review July 24, 2024 02:24
@@ -115,6 +121,10 @@ jobs:
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ matrix.php-ini-values }}

- name: Update composer to snapshot
if: matrix.php-version == '8.4'
run: composer self-update --snapshot
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until 2.7.8 is out 8.4 should use snapshot jsonrainbow/json-schema#717 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow tools: composer:snapshot does not work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by passing value from matrix

tools: composer:snapshot
dependencies: highest
codecov: true
php-ini-values: zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JIT settings got changes https://php.watch/versions/8.4/opcache-jit-ini-default-changes

But looks pcov is not updated or codecov is not compatible with JIT as there's in logs

Run composer self-update --snapshot
PHP Warning:  JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to run code coverage on PHP 8.4 right now, if that helps. I don't think it's necessary to test with JIT either.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, it was pcov which ruined JIT, also adjusted variables passed to job!

@andypost andypost force-pushed the ci-8.4 branch 2 times, most recently from 05e6040 to daa4dc0 Compare July 25, 2024 12:43
@andypost
Copy link
Contributor Author

PHP Warning: JIT on x86_64 doesn't support opcache.jit_buffer_size above 2G. in Unknown on line 0

new limit

Copy link
Member

@greg-1-anderson greg-1-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@greg-1-anderson greg-1-anderson merged commit e393370 into consolidation:main Jul 25, 2024
6 checks passed
@andypost andypost deleted the ci-8.4 branch July 29, 2024 11:15
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.

2 participants