Skip to content

Commit

Permalink
NEXT-37263 - Use local db instead one from separate repo for integrat…
Browse files Browse the repository at this point in the history
…ion tests
  • Loading branch information
jozsefdamokos committed Dec 27, 2024
1 parent 1e562f7 commit f9cd842
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ jobs:
}
- name: Clone TestData
working-directory: custom/plugins/${{ github.event.repository.name }}/tests
run: |
# TODO: As soon as the TestData gets migrated to GH use octo-sts
git clone https://${{ secrets.TESTDATA_CLONE_TOKEN }}@gitlab.shopware.com/shopware/6/services/testdata.git testData
mysql -uroot < testData/Migration/sw55.sql
run: mysql -uroot < testData/sw55.sql
- name: Run PHPUnit
working-directory: custom/plugins/${{ github.event.repository.name }}
run: php -d pcov.enabled=1 -d pcov.directory=${PWD} -d pcov.exclude='~(vendor|tests|node_modules)~' ${GITHUB_WORKSPACE}/vendor/bin/phpunit --configuration phpunit.xml.dist
Expand Down Expand Up @@ -117,9 +114,7 @@ jobs:
run: |
composer run build:js:admin
cd custom/plugins/${{ github.event.repository.name }}/tests
# TODO: As soon as the TestData gets migrated to GH use octo-sts
git clone https://${{ secrets.TESTDATA_CLONE_TOKEN }}@gitlab.shopware.com/shopware/6/services/testdata.git testData
mysql -uroot < testData/Migration/sw55.sql
mysql -uroot < testData/sw55.sql
- name: Install playwright
working-directory: custom/plugins/${{ github.event.repository.name }}/tests/acceptance
run: |
Expand Down

0 comments on commit f9cd842

Please sign in to comment.