Fix #70: remove the dead missingDependencies() factory and the unreachable testbench ^10 range #126
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| php: ['8.3', '8.4', '8.5'] | |
| laravel: ['13.*'] | |
| name: PHP ${{ matrix.php }} — Laravel ${{ matrix.laravel }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: mbstring | |
| coverage: none | |
| - name: Install dependencies | |
| run: | | |
| composer require "illuminate/support:${{ matrix.laravel }}" "illuminate/console:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" --no-interaction --no-update | |
| composer update --prefer-dist --no-interaction | |
| - name: Check code style | |
| run: vendor/bin/pint --test | |
| - name: Run PHPStan | |
| run: vendor/bin/phpstan analyse | |
| - name: Run tests | |
| run: vendor/bin/pest | |
| python-tests: | |
| runs-on: ubuntu-latest | |
| name: Python ${{ matrix.python }} — bin/python | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python: ['3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| cache: pip | |
| - name: Install dependencies | |
| run: pip install -r bin/python/requirements.txt pytest | |
| - name: Run tests | |
| run: pytest tests/python/ -v |