Skip to content

Commit

Permalink
ci: Fix the requirement checker installations (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Mar 4, 2023
1 parent 1b0f5b0 commit e7f9a4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/requirement-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
working-directory: requirement-checker

- name: Ensure that the make target is up to date
run: cd requirement-checker; make vendor_install
run: cd requirement-checker; make _vendor_install

- name: Lint CS
run: cd requirement-checker; make cs_lint
Expand All @@ -69,7 +69,7 @@ jobs:
working-directory: requirement-checker

- name: Ensure that the make target is up to date
run: cd requirement-checker; make vendor_install
run: cd requirement-checker; make _vendor_install

- name: Run tests
run: cd requirement-checker; make phpunit_autoreview
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
composer-options: ${{ matrix.composer-options }}

- name: Ensure that the make target is up to date
run: cd requirement-checker; make vendor_install
run: cd requirement-checker; make _vendor_install

- name: Install the Composer (root) dependencies
uses: ramsey/composer-install@v2
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
composer-options: ${{ matrix.php.composer-options }}

- name: Ensure that the make target is up to date
run: cd requirement-checker; make vendor_install
run: cd requirement-checker; make _vendor_install

- name: Install the Composer (root) dependencies
uses: ramsey/composer-install@v2
Expand Down
4 changes: 4 additions & 0 deletions requirement-checker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ test_e2e: docker_images _test_e2e_pass_no_config_min_composer_php _test_e2e_pass
.PHONY: vendor_install
vendor_install:
composer install --ansi
$(MAKE) _vendor_install

.PHONY: _vendor_install
_vendor_install:
touch -c vendor
touch -c $(PHPUNIT_BIN)

Expand Down

0 comments on commit e7f9a4b

Please sign in to comment.