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

[ci] allow template linter tests on OSX (Darwin) #1576

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

theofidry
Copy link
Contributor

@theofidry theofidry commented Jun 25, 2024

See https://github.com/symfony/maker-bundle/pull/1429/files#r1653262959.


Edited by @jrushlow

Uses the PHP_WINDOWS_VERSION_MAJOR constant to determine if the OS is Windows based. Rather than doing a string win comparison with \PHP_OS. The PHP_WINDOWS_VERSION_* constants are only available in the Windows environment. https://www.php.net/manual/en/info.constants.php#constant.php-windows-version-major

Linter tests are still skipped on windows based CI.

@jrushlow jrushlow changed the title test: Do not skip TemplateLinterTest on Windows [ci] allow template linter tests on OSX (Darwin) Jul 31, 2024
@jrushlow jrushlow added Status: Reviewed Has been reviewed by a maintainer Minor Minor Enhancement labels Jul 31, 2024
@jrushlow jrushlow added this to the v1.61.0 milestone Jul 31, 2024
Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

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

Thank you @theofidry

@jrushlow jrushlow merged commit d4e0685 into symfony:main Aug 29, 2024
8 checks passed
@theofidry theofidry deleted the test/lint-osx branch September 2, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Minor Enhancement Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants