Skip to content

Commit e43b4d7

Browse files
author
Andrey Helldar
authored
Update phpunit.yml
1 parent f44f5c9 commit e43b4d7

File tree

1 file changed

+6
-35
lines changed

1 file changed

+6
-35
lines changed

.github/workflows/phpunit.yml

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
php: [ "7.3", "7.4", "8.0" ]
1212
laravel: [ "6.0", "7.0", "8.0" ]
1313

14-
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
14+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
1515

1616
steps:
1717
- name: Checkout code
@@ -22,43 +22,14 @@ jobs:
2222
with:
2323
php-version: ${{ matrix.php }}
2424
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
25-
coverage: xdebug
25+
coverage: none
2626

2727
- name: Composer self update
2828
run: composer self-update
2929

3030
- name: Install dependencies
31-
run: composer require laravel/framework:^${{ matrix.laravel }}
32-
33-
- name: Execute tests
34-
run: vendor/bin/phpunit
35-
36-
Scrutinizer:
37-
runs-on: ubuntu-latest
38-
39-
steps:
40-
- name: Checkout code
41-
uses: actions/checkout@v2
42-
43-
- name: Setup PHP
44-
uses: shivammathur/setup-php@v2
45-
with:
46-
php-version: 7.4
47-
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
48-
coverage: xdebug
49-
50-
- name: Composer self update
51-
run: composer self-update
52-
53-
- name: Install dependencies
54-
run: composer update --prefer-dist --no-progress --no-interaction --no-suggest
55-
56-
- name: Execute tests
5731
run: |
58-
mkdir -p build/logs
59-
vendor/bin/phpunit --coverage-clover=coverage.clover
60-
61-
- name: Scrutinizer CI
62-
run: |
63-
wget https://scrutinizer-ci.com/ocular.phar
64-
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
32+
composer require laravel/framework:^${{ matrix.laravel }}
33+
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
34+
- name: Execute tests
35+
run: sudo vendor/bin/phpunit

0 commit comments

Comments
 (0)