-
Notifications
You must be signed in to change notification settings - Fork 13
38 lines (36 loc) · 1.35 KB
/
integration-tests.yaml
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
name: Run Integration tests
on:
push:
branches:
- "**"
pull_request:
schedule:
# run every day at 9am UTC
- cron: '0 9 * * *'
workflow_call:
jobs:
test_scripts:
runs-on: ubuntu-latest
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_APP_KEY: ${{ secrets.DD_APP_KEY }}
DD_SITE: ${{ vars.DD_SITE }}
strategy:
matrix:
scripts:
- { file: './misc/integration-test-git.sh', gha_alias: 'Git' }
- { file: './misc/integration-test-python.sh', gha_alias: 'Python' }
- { file: './misc/integration-test-docker.sh', gha_alias: 'Docker' }
- { file: './misc/integration-test-js-ts.sh', gha_alias: 'JavaScript/TypeScript' }
- { file: './misc/integration-test-filter-rules.sh', gha_alias: 'Per-Path Rule Filtering' }
- { file: './misc/integration-git-hooks.sh', gha_alias: 'Git Hooks' }
- { file: './misc/integration-test-r.sh', gha_alias: 'R' }
- { file: './misc/integration-test-rust.sh', gha_alias: 'Rust' }
- { file: './misc/integration-test-sql.sh', gha_alias: 'SQL' }
name: Run integration test - ${{ matrix.scripts.gha_alias }}
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rust-lang/[email protected]
- name: Execute script
run: ${{ matrix.scripts.file }}