Skip to content

Commit ab7e2b9

Browse files
committed
Enhancement: Run builds with Xdebug 3
1 parent 6f8d30c commit ab7e2b9

File tree

1 file changed

+6
-52
lines changed

1 file changed

+6
-52
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,6 @@ on:
77
name: "CI"
88

99
jobs:
10-
coding-guidelines:
11-
name: "Coding Guidelines"
12-
13-
runs-on: "ubuntu-latest"
14-
15-
steps:
16-
- name: "Checkout"
17-
uses: "actions/checkout@v2"
18-
19-
- name: "Run friendsofphp/php-cs-fixer"
20-
run: "php7.3 ./tools/php-cs-fixer fix --diff-format=udiff --dry-run --show-progress=dots --using-cache=no --verbose"
21-
22-
type-checker:
23-
name: "Type Checker"
24-
25-
runs-on: "ubuntu-latest"
26-
27-
steps:
28-
- name: "Checkout"
29-
uses: "actions/checkout@v2"
30-
31-
- name: "Install PHP with extensions"
32-
uses: "shivammathur/setup-php@v1"
33-
with:
34-
php-version: "7.3"
35-
coverage: "pcov"
36-
37-
- name: "Cache dependencies installed with composer"
38-
uses: "actions/cache@v1"
39-
with:
40-
path: "~/.composer/cache"
41-
key: "php7.3-composer-highest-${{ hashFiles('**/composer.json') }}"
42-
restore-keys: "php7.3-composer-highest-"
43-
44-
- name: "Set COMPOSER_ROOT_VERSION environment variable"
45-
uses: "docker://ergebnis/composer-root-version-action:0.1.3"
46-
47-
- name: "Update dependencies with composer"
48-
run: "./tools/composer update --no-ansi --no-interaction --no-progress"
49-
50-
- name: "Run vimeo/psalm"
51-
run: "./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats"
52-
5310
tests:
5411
name: "Tests"
5512

@@ -58,14 +15,8 @@ jobs:
5815
strategy:
5916
matrix:
6017
php-version:
61-
- "7.3"
62-
- "7.4"
6318
- "8.0"
6419

65-
coverage-driver:
66-
- "pcov"
67-
- "xdebug"
68-
6920
dependencies:
7021
- "lowest"
7122
- "highest"
@@ -74,11 +25,14 @@ jobs:
7425
- name: "Checkout"
7526
uses: "actions/checkout@v2"
7627

77-
- name: "Install PHP with extensions"
78-
uses: "shivammathur/setup-php@v1"
28+
- name: "Install PHP with Xdebug 3"
29+
uses: "shivammathur/setup-php@v2"
7930
with:
8031
php-version: "${{ matrix.php-version }}"
81-
coverage: "${{ matrix.coverage-driver }}"
32+
extensions: "xdebug"
33+
34+
- name: "Show PHP version"
35+
run: "php -v"
8236

8337
- name: "Cache dependencies installed with composer"
8438
uses: "actions/cache@v1"

0 commit comments

Comments
 (0)