-
-
Notifications
You must be signed in to change notification settings - Fork 408
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] windows tests on GitHub actions #1424
Conversation
d697f28
to
9fb8bdb
Compare
f915a14
to
ee61d6a
Compare
use PHPUnit\Framework\TestCase; | ||
use Symfony\Bundle\MakerBundle\Test\MakerTestEnvironment; | ||
|
||
class RegexTest extends TestCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling this MakeTestEnvironmentTest
was not compatible with PHPUnit --filter
(test wouldn't run) and I'm not sure it was running w/ just simple-phpunit
&& no flags either...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
tests that use
symfony/panther
are skipped on windows. The windows runner does not chrome/firefox/etc pre-installed.fixes regex that gets a list of files create or updated by MakerBundle (used to test those files were actually created). the file path in the output differs on linux, github actions linux images, macos, & windows. The new regex pattern handles all of those cases. This regex is only used in Maker tests
adds a test for that regex to protect from hidden test failures in the future.