Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php-versions: ['8.4', '8.5']

runs-on: ${{ matrix.os }}
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/tests_windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests (Windows)

on:
schedule:
# every 3 hours
- cron: '0 */3 * * *'
workflow_dispatch: null



env:
# see https://github.com/composer/composer/issues/9368#issuecomment-718112361
COMPOSER_ROOT_VERSION: "dev-main"

jobs:
tests:
strategy:
fail-fast: false
matrix:
php-versions: ['8.4', '8.5']

runs-on: windows-latest
timeout-minutes: 4

name: PHP ${{ matrix.php-versions }} tests (windows-latest)
steps:
- uses: actions/checkout@v5

-
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
# to display warning when assert() is called, eg: on direct getArgs() on CallLike
# and check against first class callable strlen(...)
ini-values: zend.assertions=1

- uses: "ramsey/composer-install@v4"

- run: vendor/bin/phpunit --colors
Loading