Skip to content

Tests (Windows)

Tests (Windows) #337

name: Tests (Windows)
on:
schedule:
# every 6 hours
- cron: '0 */6 * * *'
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