Skip to content

ci(sdk tests): Add bouncer lib tests #7

ci(sdk tests): Add bouncer lib tests

ci(sdk tests): Add bouncer lib tests #7

name: SDK chain tests
on:
push:
branches:
- main
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@736a2971d93dc6a7e9dc3a73051986b8f7e0b41a
with:
php_common_json: '["${{ github.ref_name }}"]'
lapi_client_json: '["main"]'
remediation_engine_json: '["main"]'
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@e9d3c13b1a693fde50c097491ff82f6c62ca1142
with:
php_common_json: '["${{ github.ref_name }}"]'
lapi_client_json: '["main"]'
remediation_engine_json: '["main"]'