Skip to content

Commit d63430c

Browse files
Reorder
1 parent 6429ed6 commit d63430c

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,32 @@ jobs:
5656
- name: Run vimeo/psalm on internal code
5757
run: ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
5858

59+
test-generated-code:
60+
name: Test generated code
61+
62+
runs-on: ubuntu-latest
63+
64+
steps:
65+
- name: Checkout
66+
uses: actions/checkout@v3
67+
68+
- name: Install PHP with extensions
69+
uses: shivammathur/setup-php@v2
70+
with:
71+
php-version: 8.1
72+
extensions: none, curl, dom, json, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
73+
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
74+
tools: none
75+
76+
- name: Install highest dependencies with composer
77+
run: php ./tools/composer update --no-ansi --no-interaction --no-progress
78+
79+
- name: Generate global assert wrappers
80+
run: php build/scripts/generate-global-assert-wrappers.php
81+
82+
- name: Assert that git tree is clean
83+
run: git diff || echo "Run 'php build/scripts/generate-global-assert-wrappers.php' to regenerate global assert wrappers!"
84+
5985
unit-tests:
6086
name: Unit Tests
6187

@@ -261,32 +287,6 @@ jobs:
261287
with:
262288
token: ${{ secrets.CODECOV_TOKEN }}
263289

264-
test-generated-code:
265-
name: Test generated code
266-
267-
runs-on: ubuntu-latest
268-
269-
steps:
270-
- name: Checkout
271-
uses: actions/checkout@v3
272-
273-
- name: Install PHP with extensions
274-
uses: shivammathur/setup-php@v2
275-
with:
276-
php-version: 8.1
277-
extensions: none, curl, dom, json, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
278-
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
279-
tools: none
280-
281-
- name: Install highest dependencies with composer
282-
run: php ./tools/composer update --no-ansi --no-interaction --no-progress
283-
284-
- name: Generate global assert wrappers
285-
run: php build/scripts/generate-global-assert-wrappers.php
286-
287-
- name: Assert that git tree is clean
288-
run: git diff || echo "Run 'php build/scripts/generate-global-assert-wrappers.php' to regenerate global assert wrappers!"
289-
290290
build-phar:
291291
name: Build PHAR
292292

0 commit comments

Comments
 (0)