diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b5976e..e794085 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,20 @@ jobs: 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' + uses: MAD-I-T/magento-actions@master + env: + COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}} + with: + process: 'integration-test' + elasticsearch: 1 + - name: 'phpstan' if: always() uses: MAD-I-T/magento-actions@v3.20 diff --git a/Test/Integration/phpunit.xml.dist b/Test/Integration/phpunit.xml.dist new file mode 100644 index 0000000..496f7ad --- /dev/null +++ b/Test/Integration/phpunit.xml.dist @@ -0,0 +1,101 @@ + + + + + + ../../../app/code/Magento + ../../../lib/internal/Magento + + + ../../../app/code/*/*/Test + ../../../lib/internal/*/*/Test + ../../../lib/internal/*/*/*/Test + ../../../setup/src/*/*/Test + + + + + + testsuite/Magento/IntegrationTest.php + + + + testsuite/Magento/MemoryUsageTest.php + + + ../../../app/code/Vendor/Sequra_Core/Test/Integration + + + + + + . + testsuite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + allure/allure.config.php + + + +