ci: add appsec system-tests to the ci #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: System Tests | |
on: | |
push: | |
branches: | |
- florentinl/system-tests | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
# first, build the artifact to be tested. This part is related to your repo | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build layer | |
run: | | |
ARCH=amd64 PYTHON_VERSION=3.13 ./scripts/build_layers.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: .layers/datadog_lambda_py-amd64-3.13.zip | |
name: binaries | |
system-tests: | |
needs: | |
- build | |
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main | |
secrets: inherit | |
permissions: | |
contents: read | |
packages: write | |
with: | |
library: python_lambda | |
binaries_artifact: binaries | |
scenarios_groups: appsec | |
skip_empty_scenarios: true |