-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (45 loc) · 1.69 KB
/
sdk-chain-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: SDK chain tests
on:
push:
paths-ignore:
- "**.md"
permissions:
contents: read
env:
# Allow ddev get to use a GitHub token to prevent rate limiting by tests
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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@main
with:
php_common_json: '["main"]'
lapi_client_json: '["main"]'
capi_client_json: '["main"]'
remediation_engine_json: '["${{ github.ref_name }}"]'
bouncer_lib_json: '["main"]'
test-bouncer-lib:
name: Run Bouncer lib tests
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
uses: crowdsecurity/php-cs-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: '["${{ 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: '["${{ github.ref_name }}"]'
bouncer_lib_json: '["main"]'
secrets:
MACHINE_ID: ${{ secrets.TEST_MACHINE_ID }}
MACHINE_PASSWORD: ${{ secrets.TEST_MACHINE_PWD }}
ENROLL_KEY: ${{ secrets.ENROLLMENT_KEY }}
M2_COMPOSER_AUTH: ${{ secrets.M2_AUTH }}