diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5d352f8669..1010ffe06e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,12 +13,13 @@ jobs: laravel: [11.*, 10.*] dependency-version: [prefer-stable] testsuite: [core, admin, shipping, stripe] + extend-models: ["true", "false"] include: - laravel: 11.* testbench: 9.* - laravel: 10.* testbench: 8.* - name: ${{ matrix.testsuite }} - PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependency-version == 'prefer-lowest' && '↓' || '↑' }} + name: ${{ matrix.testsuite }} - PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependency-version == 'prefer-lowest' && '↓' || '↑' }} ${{ matrix.extend-models == 'true' && 'E' || '' }} steps: - name: Checkout code uses: actions/checkout@v4 @@ -47,4 +48,5 @@ jobs: APP_ENV: testing DB_CONNECTION: testing DB_DATABASE: ":memory:" + LUNAR_TESTING_REPLACE_MODELS: ${{ matrix.extend-models }} run: ./vendor/bin/pest --testsuite ${{ matrix.testsuite }}