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 parallel PHP syntax check on template files #481

Conversation

n-peugnet
Copy link
Collaborator

Before this, absolutely no automated checks were done on template files now we at least ensure that they are valid PHP files.

The parallel run should work correctly on macOS and other Unix-like systems. On Windows, we fallback to sequential execution.

This takes around 1 second on my not so fast 2/4 cores Intel laptop.

Before this, absolutely no automated checks were done on template files
now we at least ensure that they are valid PHP files.

The parallel run should work correctly on macOS and other Unix-like
systems. On Windows, we fallback to sequential execution.

This takes around 1 second on my not so fast 2/4 cores Intel laptop.
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 17.97%. Comparing base (56ed262) to head (a1a3120).
Report is 58 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #481      +/-   ##
============================================
- Coverage     18.23%   17.97%   -0.26%     
- Complexity     2003     2024      +21     
============================================
  Files            71       72       +1     
  Lines          5407     5495      +88     
============================================
+ Hits            986      988       +2     
- Misses         4421     4507      +86     

Copy link
Owner

@vincent-peugnet vincent-peugnet left a comment

Choose a reason for hiding this comment

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

lovely ! thanks Nic !

I hope windows devs of W will not be too sad by the fact they cannot have parallel checks. But maybe they will switch to linux just for that.

@vincent-peugnet vincent-peugnet merged commit 18c0212 into vincent-peugnet:master Nov 1, 2024
11 checks passed
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.

3 participants