Skip to content

Commit

Permalink
Merge pull request #102 from GSadee/fix-test-app-setup
Browse files Browse the repository at this point in the history
[GitHub Actions] Fix test application setup
  • Loading branch information
lchrusciel authored Dec 5, 2023
2 parents 598569c + 517bb89 commit fda2c6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ jobs:
coverage: none

- name: Build test application
uses: SyliusLabs/BuildTestAppAction@v1.3
uses: SyliusLabs/BuildTestAppAction@v2.2
with:
symfony-version: "${{ matrix.symfony }}"
sylius-version: "${{ matrix.sylius }}"
mysql-version: "${{ matrix.mysql }}"
node-version: "${{ matrix.node }}"
plugin-build: "yes"
e2e: "yes"
e2e_js: "yes"
php_version: "${{ matrix.php }}"
symfony_version: "${{ matrix.symfony }}"
sylius_version: "${{ matrix.sylius }}"
database_version: "${{ matrix.mysql }}"
node_version: "${{ matrix.node }}"
build_type: "plugin"

- name: Run ECS
run: vendor/bin/ecs check
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/contract_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ jobs:
- name: Build test application
uses: SyliusLabs/[email protected]
with:
symfony-version: "${{ matrix.symfony }}"
sylius-version: "${{ matrix.sylius }}"
mysql-version: "${{ matrix.mysql }}"
node-version: "${{ matrix.node }}"
plugin-build: "yes"
e2e: "yes"
e2e_js: "yes"
php_version: "${{ matrix.php }}"
symfony_version: "${{ matrix.symfony }}"
sylius_version: "${{ matrix.sylius }}"
database_version: "${{ matrix.mysql }}"
node_version: "${{ matrix.node }}"
build_type: "plugin"

- name: Run PHPUnit
run: vendor/bin/phpunit --colors=always --testsuite contract

0 comments on commit fda2c6d

Please sign in to comment.