Skip to content

Commit

Permalink
[11.x] Run Workflows on Windows 2022 and with bash instead of powersh…
Browse files Browse the repository at this point in the history
…ell (#51958)

* Run Workflows on Windows 2022

* Require dependencies using caret

* Use Powershell

* Use bash
  • Loading branch information
Jubeki committed Jun 29, 2024
1 parent 032f378 commit 94df3d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
!vendor/**/.gitignore
windows_tests:
runs-on: windows-2019
runs-on: windows-2022

strategy:
fail-fast: true
Expand Down Expand Up @@ -140,14 +140,16 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 5
command: composer require guzzlehttp/psr7:~2.4 --no-interaction --no-update
command: composer require guzzlehttp/psr7:^2.4 --no-interaction --no-update
shell: bash

- name: Set PHPUnit
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer require phpunit/phpunit:~${{ matrix.phpunit }} --dev --no-interaction --no-update
command: composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update
shell: bash

- name: Install dependencies
uses: nick-fields/retry@v3
Expand Down

0 comments on commit 94df3d6

Please sign in to comment.