-
Notifications
You must be signed in to change notification settings - Fork 129
71 lines (56 loc) · 1.74 KB
/
unstable-version-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 }}