From f2d9b1a6e7b1d7b30b33f934cd660d5a65e276d1 Mon Sep 17 00:00:00 2001 From: Mikel Martin Date: Wed, 27 Dec 2023 21:56:57 +0100 Subject: [PATCH] Change order --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e794085..4d79cb3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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()