Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[WIP][POC] Run Windows tests on GitHub Action #58699

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

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
-
  • Loading branch information
wouterj committed Oct 30, 2024
commit 9d37fbbe23cf7ef6527f3280745bd8108a8a2325
11 changes: 9 additions & 2 deletions 11 .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ jobs:
mkdir %APPDATA%\Composer && Copy .github\composer-config.json %APPDATA%\Composer\config.json

- name: Install dependencies
id: setup
run: |
SET PATH=c:\php;%PATH%
mkdir %APPDATA%\Composer && copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
Expand All @@ -337,6 +338,7 @@ jobs:
echo ::endgroup::

- name: Run tests (minimal extensions)
if: always() && steps.setup.outcome == 'success'
run: |
$env:Path = 'c:\php;' + $env:Path
wouterj marked this conversation as resolved.
Show resolved Hide resolved
$env:SYMFONY_PHPUNIT_SKIPPED_TESTS = 'phpunit.skipped'
Expand All @@ -347,9 +349,12 @@ jobs:
php phpunit src\Symfony --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group network --exclude-group transient-on-windows || $x = $LASTEXITCODE
php phpunit src\Symfony\Component\HttpClient || $x = $LASTEXITCODE

exit $x
if ($x -ne 0) {
throw "Test failures"
}

- name: Run tests
if: always() && steps.setup.outcome == 'success'
run: |
$env:Path = 'c:\php;' + $env:Path
$env:SYMFONY_PHPUNIT_SKIPPED_TESTS = 'phpunit.skipped'
Expand All @@ -360,4 +365,6 @@ jobs:
php phpunit src\Symfony --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group network --exclude-group transient-on-windows -ErrorAction Stop || $x = $LASTEXITCODE
wouterj marked this conversation as resolved.
Show resolved Hide resolved
php phpunit src\Symfony\Component\HttpClient -ErrorAction Stop || $x = $LASTEXITCODE

exit $x
if ($x -ne 0) {
throw "Test failures"
}
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.