@@ -2,8 +2,6 @@ name: SDK chain tests
22
33on :
44 push :
5- branches :
6- - main
75 paths-ignore :
86 - " **.md"
97
@@ -18,10 +16,26 @@ jobs:
1816 test-standalone-bouncer :
1917 name : Run Standalone Bouncer tests
2018 if : ${{ !contains(github.event.head_commit.message, 'chore(') }}
21- uses : crowdsecurity/cs-standalone-php-bouncer/.github/workflows/php-sdk-development-tests.yml@21a85d5696ba607e2028330c4ddda4b5e361547a
19+ uses : crowdsecurity/cs-standalone-php-bouncer/.github/workflows/php-sdk-development-tests.yml@main
2220 with :
2321 php_common_json : ' ["main"]'
2422 lapi_client_json : ' ["main"]'
2523 capi_client_json : ' ["main"]'
2624 remediation_engine_json : ' ["main"]'
2725 bouncer_lib_json : ' ["${{ github.ref_name }}"]'
26+
27+ test-magento-engine :
28+ name : Run Magento 2 Engine module tests
29+ if : ${{ !contains(github.event.head_commit.message, 'chore(') }}
30+ uses : crowdsecurity/magento-cs-extension/.github/workflows/php-sdk-development-tests.yml@main
31+ with :
32+ php_common_json : ' ["main"]'
33+ lapi_client_json : ' ["main"]'
34+ capi_client_json : ' ["main"]'
35+ remediation_engine_json : ' ["main"]'
36+ bouncer_lib_json : ' ["${{ github.ref_name }}"]'
37+ secrets :
38+ MACHINE_ID : ${{ secrets.TEST_MACHINE_ID }}
39+ MACHINE_PASSWORD : ${{ secrets.TEST_MACHINE_PWD }}
40+ ENROLL_KEY : ${{ secrets.ENROLLMENT_KEY }}
41+ M2_COMPOSER_AUTH : ${{ secrets.M2_AUTH }}
0 commit comments