Skip to content

Unstable version tests #1538

Unstable version tests

Unstable version tests #1538

name: Unstable version tests
on:
schedule:
- cron: '0 0 * * *'
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.2']
laravel-version: ['10.x-dev as 10', 'dev-master as 11']
steps:
- uses: actions/checkout@v2
- name: install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- run: composer validate
- name: require Laravel
run: composer require "laravel/framework:${{ matrix.laravel-version }}" --no-update
- name: install dependencies
run: composer update --prefer-dist --no-progress --no-suggest --no-interaction ${{ matrix.composer-flags }}
- run: composer test
maze-runner:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.2']
laravel-fixture: ['laravel-latest']
laravel-version: ['dev-master as 11']
steps:
- uses: actions/checkout@v2
- name: Install libcurl4-openssl-dev and net-tools
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install net-tools
- name: install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- run: ./.ci/setup-laravel-dev-fixture.sh "${{ matrix.laravel-version }}"
- run: bundle exec maze-runner --no-source
env:
PHP_VERSION: ${{ matrix.php-version }}
LARAVEL_FIXTURE: ${{ matrix.laravel-fixture }}
COMPOSER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}