Skip to content

Commit

Permalink
ci(sdk chain tests): Add Magento 2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Nov 7, 2024
1 parent c15ac30 commit c6600c0
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/sdk-chain-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: SDK chain tests

on:
push:
branches:
- main
paths-ignore:
- "**.md"

Expand All @@ -18,10 +16,26 @@ jobs:
test-standalone-bouncer:
name: Run Standalone Bouncer tests
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
uses: crowdsecurity/cs-standalone-php-bouncer/.github/workflows/php-sdk-development-tests.yml@21a85d5696ba607e2028330c4ddda4b5e361547a
uses: crowdsecurity/cs-standalone-php-bouncer/.github/workflows/php-sdk-development-tests.yml@main
with:
php_common_json: '["main"]'
lapi_client_json: '["main"]'
capi_client_json: '["main"]'
remediation_engine_json: '["main"]'
bouncer_lib_json: '["${{ github.ref_name }}"]'

test-magento-engine:
name: Run Magento 2 Engine module tests
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
uses: crowdsecurity/magento-cs-extension/.github/workflows/php-sdk-development-tests.yml@main
with:
php_common_json: '["main"]'
lapi_client_json: '["main"]'
capi_client_json: '["main"]'
remediation_engine_json: '["main"]'
bouncer_lib_json: '["${{ github.ref_name }}"]'
secrets:
MACHINE_ID: ${{ secrets.TEST_MACHINE_ID }}
MACHINE_PASSWORD: ${{ secrets.TEST_MACHINE_PWD }}
ENROLL_KEY: ${{ secrets.ENROLLMENT_KEY }}
M2_COMPOSER_AUTH: ${{ secrets.M2_AUTH }}

0 comments on commit c6600c0

Please sign in to comment.