Skip to content

Commit

Permalink
workflows: test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Aug 11, 2021
1 parent d5af247 commit 4188c59
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@ jobs:
- run: composer install --no-progress
- run: php${{ matrix.php-version }} vendor/bin/phpunit

windows:
name: Test on Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
php-version: ['7.3', '7.4', '8.0']

steps:
- name: Setup PHP
id: setup-php
uses: cmb69/setup-php-sdk@v0.1
with:
version: ${{matrix.version}}
- uses: actions/checkout@v2
with:
fetch-depth: 1

- run: php${{ matrix.php-version }} -v
- run: php${{ matrix.php-version }} -m
- run: composer -V
- run: composer install --no-progress
- run: php${{ matrix.php-version }} vendor/bin/phpunit

code_coverage:
name: Code Coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4188c59

Please sign in to comment.