Skip to content

Commit

Permalink
Change order
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 27, 2023
1 parent f9542d7 commit f2d9b1a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,28 @@ jobs:
magento_version: 2.4.6
no_push: 1 ## add this arg to not push to the repo ideal for quick test on specific version

- name: 'launch magento2 unit test'
if: always()
uses: MAD-I-T/magento-actions@v3.20
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'unit-test'
unit_test_config: 'dev/tests/unit/phpunit.xml.dist'
unit_test_subset_path: '../Sequra_Core/'

# Integrations tests
- name: "ls directory"
run: ls -la
- name: "copy integration test's phpunit.xml"
run: cp Sequra_Core/Test/Integration/phpunit.xml.dist dev/tests/integration/phpunit.xml
- name: 'To run all test in phpunit.xml'
- name: 'To run all test in copied phpunit.xml'
uses: MAD-I-T/magento-actions@master
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'integration-test'
elasticsearch: 1

- name: 'launch magento2 unit test'
if: always()
uses: MAD-I-T/magento-actions@v3.20
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'unit-test'
unit_test_config: 'dev/tests/unit/phpunit.xml.dist'
unit_test_subset_path: '../Sequra_Core/'

- name: 'phpstan'
if: always()
Expand Down

0 comments on commit f2d9b1a

Please sign in to comment.