2020-04-12 23:49:26 +02:00
|
|
|
name: Run Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2020-04-18 23:21:19 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
php: [7.1, 8.0]
|
2020-04-19 01:00:41 +02:00
|
|
|
illuminate_version: [5.8.*, 6.*, 7.*]
|
2020-04-18 23:21:19 +02:00
|
|
|
|
|
|
|
name: PHP ${{ matrix.php }} | Illuminate ${{ matrix.illuminate_version }}
|
2020-04-12 23:49:26 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install dependencies
|
2020-04-18 23:21:19 +02:00
|
|
|
run: |
|
|
|
|
export COMPOSER_ROOT_VERSION=dev-master
|
|
|
|
composer require "illuminate/container:${{ matrix.illuminate_version }}" "illuminate/contracts:${{ matrix.illuminate_version }}" "illuminate/database:${{ matrix.illuminate_version }}" "illuminate/http:${{ matrix.illuminate_version }}" "illuminate/support:${{ matrix.illuminate_version }}" --no-interaction --no-progress --no-suggest
|
2020-04-12 23:49:26 +02:00
|
|
|
|
|
|
|
- name: Run Tests
|
|
|
|
run: vendor/bin/codecept run
|