Skip to content

Commit 6825b9f

Browse files
authored
Merge pull request #162 from jrushlow/ci/platform-ver
[CI] run tests on ubuntu 18.04
2 parents 5833f09 + 9208bb3 commit 6825b9f

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
composer-validate:
1010
name: Validate composer.json
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-18.04
1212

1313
steps:
1414
- name: Checkout
@@ -19,7 +19,7 @@ jobs:
1919

2020
php-cs-fixer:
2121
name: Lint Bundle Source
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-18.04
2323

2424
steps:
2525
- name: Set PHP Version
@@ -35,7 +35,7 @@ jobs:
3535

3636
psalm:
3737
name: Psalm Static Analysis
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-18.04
3939

4040
steps:
4141
- name: Set PHP Version
@@ -52,7 +52,7 @@ jobs:
5252

5353
stable-tests:
5454
name: Symfony Stable
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-18.04
5656

5757
strategy:
5858
fail-fast: false
@@ -108,7 +108,7 @@ jobs:
108108

109109
dev-main-tests:
110110
name: Symfony Main
111-
runs-on: ubuntu-latest
111+
runs-on: ubuntu-18.04
112112

113113
strategy:
114114
fail-fast: false
@@ -119,9 +119,6 @@ jobs:
119119
- name: Set PHP Version
120120
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php-versions }}
121121

122-
# - name: Disable Xdebug
123-
# run: sudo rm /etc/php/${{ matrix.php-versions }}/cli/conf.d/20-xdebug.ini
124-
125122
- name: Get PHP Version
126123
run: |
127124
ver=$(php -v | grep -oP '(?<=PHP )\d.\d')
@@ -155,7 +152,7 @@ jobs:
155152

156153
lowest-version-tests:
157154
name: Lowest dependencies
158-
runs-on: ubuntu-latest
155+
runs-on: ubuntu-18.04
159156

160157
strategy:
161158
fail-fast: false
@@ -166,9 +163,6 @@ jobs:
166163
- name: Set PHP Version
167164
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php-versions }}
168165

169-
# - name: Disable Xdebug
170-
# run: sudo rm /etc/php/${{ matrix.php-versions }}/cli/conf.d/20-xdebug.ini
171-
172166
- name: Get PHP Version
173167
run: |
174168
ver=$(php -v | grep -oP '(?<=PHP )\d.\d')

0 commit comments

Comments
 (0)