-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2411 from Adyen/develop
Release 9.0.5
- Loading branch information
Showing
37 changed files
with
1,401 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: REST API Tests | ||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
php-version: ["8.1"] | ||
magento-version: ["2.4.5"] | ||
runs-on: ubuntu-latest | ||
env: | ||
PHP_VERSION: ${{ matrix.php-version }} | ||
MAGENTO_VERSION: ${{ matrix.magento-version }} | ||
ADMIN_USERNAME: ${{secrets.MAGENTO_ADMIN_USERNAME}} | ||
ADMIN_PASSWORD: ${{secrets.MAGENTO_ADMIN_PASSWORD}} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Magento | ||
run: docker-compose -f .github/workflows/templates/docker-compose.yml run --rm web make magento | ||
|
||
- name: Start web server in background | ||
run: docker-compose -f .github/workflows/templates/docker-compose.yml up -d web | ||
env: | ||
DONATION_ACCOUNT: ${{secrets.DONATION_ACCOUNT}} | ||
ADYEN_MERCHANT: ${{secrets.ADYEN_MERCHANT}} | ||
ADYEN_API_KEY: ${{secrets.ADYEN_API_KEY}} | ||
ADYEN_CLIENT_KEY: ${{secrets.ADYEN_CLIENT_KEY}} | ||
|
||
- name: Setup permissions | ||
run: docker exec magento2-container make fs | ||
|
||
- name: Check install | ||
run: docker exec magento2-container make sys-check | ||
|
||
- name: Install plugin | ||
run: docker exec -u www-data magento2-container make plugin | ||
|
||
- run: docker exec magento2-container /etc/init.d/cron stop | ||
|
||
- name: Run REST API tests | ||
run: docker exec magento2-container make restapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.