Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
authanram committed Feb 21, 2025
1 parent 59d7b1b commit fce9ecb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
php: [8.4, 8.3, 8.2]
laravel: ["^12.0", "^11.0", "^10.0"]
laravel: [12.*, 11.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: "^12.0"
testbench: "10.*"
- laravel: "^11.0"
testbench: "9.*"
carbon: "^2.63"
- laravel: "^10.0"
testbench: "8.*"
carbon: "^2.63"
- laravel: 12.*
testbench: 10.*
- laravel: 11.*
testbench: 9.*
carbon: ^2.63
- laravel: 10.*
testbench: 8.*
carbon: ^2.63

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -43,18 +43,18 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Remove larastan from dev dependencies
run: composer remove --dev nunomaduro/larastan

- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Remove larastan from dev dependencies
run: composer remove --dev nunomaduro/larastan

- name: Install dependencies
run: |
composer require 'illuminate/contracts=${{ matrix.laravel }}.0' --no-update
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
Expand Down

0 comments on commit fce9ecb

Please sign in to comment.