Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9b85a82

Browse filesBrowse files
committed
Update tests on GitHub Actions
1 parent affc4ed commit 9b85a82
Copy full SHA for 9b85a82

File tree

Expand file treeCollapse file tree

1 file changed

+31
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+31
-6
lines changed

‎.github/workflows/tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+31-6Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ on:
99
jobs:
1010
tests:
1111
runs-on: ubuntu-20.04
12+
timeout-minutes: 10
1213

1314
strategy:
1415
fail-fast: true
15-
matrix:
16-
php: ['8.1']
1716

18-
name: PHP ${{ matrix.php }}
17+
name: PHP 8.1
1918

2019
steps:
2120
- name: Checkout
@@ -24,7 +23,7 @@ jobs:
2423
- name: Setup PHP
2524
uses: shivammathur/setup-php@v2
2625
with:
27-
php-version: ${{ matrix.php }}
26+
php-version: 8.1
2827
tools: composer
2928
coverage: xdebug
3029

@@ -46,7 +45,7 @@ jobs:
4645

4746
- name: PHPStan
4847
run:
49-
vendor/bin/phpstan analyse -vvv
48+
vendor/bin/phpstan analyse --xdebug -vvv
5049

5150
- name: PHPUnit
5251
run: vendor/bin/phpunit --verbose
@@ -59,4 +58,30 @@ jobs:
5958
cp build/coverage/clover.xml build/logs/clover.xml
6059
composer global require php-coveralls/php-coveralls
6160
php-coveralls --coverage_clover=build/logs/clover.xml -v
62-
if: matrix.php == '8.1'
61+
62+
tests-last:
63+
runs-on: ubuntu-20.04
64+
timeout-minutes: 10
65+
66+
strategy:
67+
fail-fast: true
68+
69+
name: PHP 8.2 - Last
70+
71+
steps:
72+
- name: Checkout
73+
uses: actions/checkout@v2
74+
75+
- name: Setup PHP
76+
uses: shivammathur/setup-php@v2
77+
with:
78+
php-version: 8.2
79+
tools: composer
80+
coverage: xdebug
81+
82+
- name: Install dependencies
83+
run:
84+
composer update
85+
86+
- name: PHPUnit
87+
run: vendor/bin/phpunit --verbose

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.