Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jannescb committed Jul 17, 2023
1 parent bd4de7e commit 444fdd6
Showing 1 changed file with 3 additions and 43 deletions.
46 changes: 3 additions & 43 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0]
laravel: [7.*, 8.*]
php: [8.0]
laravel: [8.*]
stability: [prefer-lowest, prefer-stable]

name:
Expand Down Expand Up @@ -49,44 +49,4 @@ jobs:
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Run PHP tests via PHPUnit
run: vendor/bin/phpunit
windows_tests:
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
php: [7.4]
laravel: [7.*]
stability: [prefer-stable]
include:
- laravel: 7.*
name: p ${{ matrix.php }} - l ${{ matrix.laravel }} - Windows
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key:
dependencies-laravel-${{ matrix.laravel }}-php-${{
matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions:
dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite,
bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
tools: composer:v2
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Run PHP tests via PHPUnit
run: vendor/bin/phpunit
run: vendor/bin/phpunit

0 comments on commit 444fdd6

Please sign in to comment.