Skip to content

Commit 2c3aee3

Browse files
committed
Format yml files
1 parent 08fd76d commit 2c3aee3

File tree

2 files changed

+37
-33
lines changed

2 files changed

+37
-33
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
on: [push]
21
name: backward compatibility check
2+
3+
on: [push]
4+
35
jobs:
46
roave_bc_check:
57
name: Roave BC Check
68
runs-on: ubuntu-latest
79
steps:
810
- uses: actions/checkout@master
11+
912
- name: fetch tags
1013
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14+
1115
- name: Roave BC Check
1216
uses: docker://nyholm/roave-bc-check-ga

.github/workflows/run-tests.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on: [ push, pull_request ]
44

55
jobs:
66
test:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ubuntu-latest]
12-
php: [8.0, 8.1]
13-
laravel: [8.*]
14-
dependency-version: [prefer-stable]
11+
os: [ ubuntu-latest ]
12+
php: [ 8.0, 8.1 ]
13+
laravel: [ 8.* ]
14+
dependency-version: [ prefer-stable ]
1515
include:
16-
- laravel: 8.*
17-
testbench: 6.*
16+
- laravel: 8.*
17+
testbench: 6.*
1818

1919
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2020

2121
steps:
22-
- name: Checkout code
23-
uses: actions/checkout@v2
24-
25-
- name: Setup PHP
26-
uses: shivammathur/setup-php@v2
27-
with:
28-
php-version: ${{ matrix.php }}
29-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
30-
coverage: none
31-
32-
- name: Setup problem matchers
33-
run: |
34-
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
35-
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
36-
37-
- name: Install dependencies
38-
run: |
39-
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
40-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
41-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
42-
env:
43-
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
44-
45-
- name: Execute tests
46-
run: vendor/bin/phpunit
22+
- name: Checkout code
23+
uses: actions/checkout@v2
24+
25+
- name: Setup PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
30+
coverage: none
31+
32+
- name: Setup problem matchers
33+
run: |
34+
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
35+
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
36+
37+
- name: Install dependencies
38+
run: |
39+
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
40+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
41+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
42+
env:
43+
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
44+
45+
- name: Execute tests
46+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)