-
Notifications
You must be signed in to change notification settings - Fork 822
Various fixes #1805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Various fixes #1805
Changes from all commits
cb4d6b5
91dee1c
2420347
858039e
f745811
1bb87a6
b98444c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Build Docker Container | ||
run: docker compose -f docker-compose.yml build >/dev/null | ||
run: docker compose -f docker-compose.yml build | ||
env: | ||
PHP_VERSION: ${{matrix.php}} | ||
|
||
- name: Composer Install | ||
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} test_runner composer install --no-progress | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The php version variable isn't relevant at this point - we're never installing composer packages for old php versions. |
||
run: docker compose -f docker-compose.yml run test_runner composer install --no-progress --ansi | ||
env: | ||
PHP_VERSION: ${{matrix.php}} | ||
|
||
- name: Dump Reflection To File | ||
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.json | ||
run: docker compose -f docker-compose.yml run -e PHP_VERSION=${{matrix.php}} php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.dat | ||
env: | ||
PHP_VERSION: ${{matrix.php}} | ||
|
||
|
@@ -40,8 +40,11 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build Docker Container | ||
run: docker compose -f docker-compose.yml build test_runner | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prebuilds the docker image, to avoid polluting the "composer install" step. Side note: we could also move a couple of (build) steps to an earlier job that uploads the built image as an artifact and which both of the current jobs could depend on. But that's a story for another PR. :) |
||
|
||
- name: Composer Install | ||
run: docker compose -f docker-compose.yml run test_runner composer install --no-progress | ||
run: docker compose -f docker-compose.yml run test_runner composer install --no-progress --ansi | ||
|
||
- name: Test PhpDoc | ||
run: docker compose -f docker-compose.yml run test_runner vendor/bin/phpunit --no-progress --testsuite PhpDoc | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why we would want to hide the build output - this could be very useful to debug build failures.