Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 8, 2023
1 parent 6d0cbcc commit 12b2105
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- "ubuntu-latest"
php:
- "8.0"
- 8.1
dependencies:
- "highest"
laravel:
Expand Down
59 changes: 52 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,51 @@ on:
- cron: '0 0 * * 3'

jobs:
tests-on-laravel-10:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
- "windows-latest"
php:
- 8.1
- 8.2
dependencies:
- "highest"
- "lowest"
laravel:
- "10.x"
experimental:
- false

name: Laravel ${{ matrix.laravel }} on PHP${{ matrix.php }}-${{ matrix.os }} (${{ matrix.dependencies }})

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, bcmath, fileinfo
coverage: none

- name: Install Laravel Framework ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --no-cache"

- name: Execute tests
run: vendor/bin/phpunit

tests-on-laravel-9:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
Expand All @@ -16,9 +61,9 @@ jobs:
- "ubuntu-latest"
- "windows-latest"
php:
- "8.0"
- "8.1"
- "8.2"
- '8.0'
- 8.1
- 8.2
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -62,10 +107,10 @@ jobs:
- "ubuntu-latest"
- "windows-latest"
php:
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- 7.3
- 7.4
- '8.0'
- 8.1
dependencies:
- "highest"
- "lowest"
Expand Down

0 comments on commit 12b2105

Please sign in to comment.