diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-05-18 17:09:46 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-05-18 17:09:46 +0200 |
commit | bab3d969f6ab1846d818e4ef4d4f777c13575d88 (patch) | |
tree | b8a09d75779f046a774e0b7afd36cfd5f9ca115a /.github/workflows/php.yml | |
parent | 121af5f84ad9262e5c509dc1dd741166ca1dc3de (diff) | |
parent | aa6bfe02129d37b75d9684e1d7f89d39412f8d12 (diff) | |
download | wcms-bab3d969f6ab1846d818e4ef4d4f777c13575d88.tar.gz wcms-bab3d969f6ab1846d818e4ef4d4f777c13575d88.zip |
Merge branch 'master' of https://github.com/vincent-peugnet/wcms
Diffstat (limited to '.github/workflows/php.yml')
-rw-r--r-- | .github/workflows/php.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 6172685..9cccc26 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -6,11 +6,17 @@ on: jobs: test-php: - name: test (php ${{ matrix.php-versions }}) - runs-on: ubuntu-latest + name: test php ${{ matrix.php }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} strategy: matrix: - php-versions: ['7.2', '7.3', '7.4'] + os: [ubuntu-latest] + php: ['7.2', '7.3', '7.4'] + include: + - os: windows-latest + php: '7.4' + - os: macos-latest + php: '7.4' steps: - name: Git checkout uses: actions/checkout@v2 @@ -18,7 +24,8 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php }} + extensions: mbstring coverage: xdebug - name: Validate composer.json and composer.lock @@ -50,7 +57,7 @@ jobs: with: file: ./build/phpunit/cov.xml flags: php - name: php-${{ matrix.php-versions }} + name: php-${{ matrix.php }}-${{ matrix.os }} lint: name: lint |