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 7, 2024
1 parent b6db454 commit 0eb8571
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,53 @@ on:
workflow_dispatch:

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

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

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

- 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: "Setup CI Authentication"
run: |
composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_PASSWORD }}
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --no-cache --with=laravel/framework:${{ matrix.laravel }}"

- name: Installed dependencies
run: composer show -D

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

tests-on-laravel-10:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
Expand Down

0 comments on commit 0eb8571

Please sign in to comment.