Skip to content

Commit

Permalink
Merge pull request #16066 from akeneo/temporary-fix-for-CI
Browse files Browse the repository at this point in the history
Temporary CI fix: use phpunit's executable instead of composer one for onboarder tests
  • Loading branch information
mmetayer committed Dec 24, 2021
2 parents 1c6e69d + 6087c18 commit 2148d5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/jobs/features/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ jobs:
rm -f docker-compose.override.yml
PIM_VERSION=master SETUP_FOR_CI=1 PIM_CONTEXT=onboarder make setup-onboarder-parameters
PIM_VERSION=master PIM_CONTEXT=onboarder make setup-onboarder-tests
docker-compose run --rm php php /usr/local/bin/composer dumpautoload
docker-compose run --rm php php /usr/local/bin/composer dumpautoload --no-interaction
- run:
name: Change owner of PIM as some files have been created with wrong owner
command: sudo chown -R 1000:1000 ~/project
Expand All @@ -322,6 +322,9 @@ jobs:
- run:
name: Execute acceptance tests
command: PIM_CONTEXT=onboarder make test-acceptance
- run:
name: "[workaround to revert] Use phpunit executable instead of composer proxy"
command: cd vendor/bin && rm -f ./phpunit && ln -s ../phpunit/phpunit/phpunit ./phpunit
- run:
name: Execute PHPUnit integration tests
command: PIM_CONTEXT=onboarder make test-integration
Expand Down

0 comments on commit 2148d5c

Please sign in to comment.