Skip to content

Commit

Permalink
Set full COMPOSER_VENDOR_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored and cmuench committed Jun 8, 2024
1 parent 1ea1106 commit 765fdd9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-magento-open-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ jobs:
--useDefaultConfigParams=yes \
--baseUrl="http://magento.local/"
env:
COMPOSER_VENDOR_PATH : vendor
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Set Magento root environment variable
run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV

- name: Run tests
run: php -f vendor/bin/phpunit
env:
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Report coverage
uses: codecov/codecov-action@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-openmage-20.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@ jobs:
--useDefaultConfigParams=yes \
--baseUrl="http://magento.local/"
env:
COMPOSER_VENDOR_PATH : vendor
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Set Magento root environment variable
run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV

- name: Run tests
run: php -f vendor/bin/phpunit
env:
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Report coverage
uses: codecov/codecov-action@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-openmage-20.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ jobs:
--useDefaultConfigParams=yes \
--baseUrl="http://magento.local/"
env:
COMPOSER_VENDOR_PATH : vendor
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Set Magento root environment variable
run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV

- name: Run tests
run: php -f vendor/bin/phpunit
env:
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Report coverage
uses: codecov/codecov-action@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-openmage-20.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ jobs:
--useDefaultConfigParams=yes \
--baseUrl="http://magento.local/"
env:
COMPOSER_VENDOR_PATH : vendor
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Set Magento root environment variable
run: echo "N98_MAGERUN_TEST_MAGENTO_ROOT=${{ github.workspace }}/magento" >> $GITHUB_ENV

- name: Run tests
run: php -f vendor/bin/phpunit
env:
COMPOSER_VENDOR_PATH : "${{ github.workspace }}/magento/vendor"

- name: Report coverage
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 765fdd9

Please sign in to comment.