Skip to content

Commit

Permalink
ci(sdk tests): Add capi client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Nov 6, 2024
1 parent 8fc94b0 commit 12b82a5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/sdk-chain-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,23 @@ jobs:
lapi_client_json: '["main"]'
capi_client_json: '["main"]'
secrets:
TEST_MACHINE_ID: ${{ secrets.REMEDIATION_MACHINE_ID }}
TEST_MACHINE_PWD: ${{ secrets.REMEDIATION_MACHINE_PWD }}
TEST_MACHINE_ID: ${{ secrets.TEST_MACHINE_ID }}
TEST_MACHINE_PWD: ${{ secrets.TEST_MACHINE_PWD }}

test-lapi-client:
name: Run Lapi client tests
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
uses: crowdsecurity/php-lapi-client/.github/workflows/php-sdk-development-tests.yml@abf5fac68b433c52cb31477f8c03130c939f8b72
with:
php_common_json: '["${{ github.ref_name }}"]'

test-capi-client:
name: Run Capi client tests
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
uses: crowdsecurity/php-capi-client/.github/workflows/php-sdk-development-tests.yml@e484c553a3b92d6f1b69df0cd407286de80af8a8
with:
php_common_json: '["${{ github.ref_name }}"]'
secrets:
TEST_MACHINE_ID: ${{ secrets.TEST_MACHINE_ID }}
TEST_MACHINE_PWD: ${{ secrets.TEST_MACHINE_PWD }}
ENROLLMENT_KEY: ${{ secrets.TEST_ENROLLMENT_KEY }}

0 comments on commit 12b82a5

Please sign in to comment.