-
Notifications
You must be signed in to change notification settings - Fork 2
75 lines (75 loc) · 2.42 KB
/
Copy pathci.yml
File metadata and controls
75 lines (75 loc) · 2.42 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: prof-correctness
on:
push:
schedule:
- cron: "0 0 * * *"
jobs:
schema-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: 1.25.1
- name: Run schema validation tests
run: go test -v -run TestSchemaValidation
- name: Run analyzer public API tests
run: go test -v ./analysis/...
- name: Run prof-analyze CLI tests
run: go test -v ./cmd/prof-analyze/...
- name: Run list-scenarios CLI tests
run: go test -v ./cmd/list-scenarios/...
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.11"
- name: Install ruff
run: pip install --no-cache-dir -r requirements-dev.txt
- name: Run ruff format check
run: ruff format --check .
- name: Run ruff lint check
if: success() || failure()
run: ruff check .
ddprof:
uses: ./.github/workflows/test.yml
with:
test_scenarios: ddprof.*
secrets: inherit
dotnet:
uses: ./.github/workflows/test.yml
with:
test_scenarios: dotnet.*
secrets: inherit
ruby:
uses: ./.github/workflows/test.yml
with:
test_scenarios: ruby.*
secrets: inherit
node:
uses: ./.github/workflows/test.yml
with:
test_scenarios: node.*
secrets: inherit
python:
uses: ./.github/workflows/test.yml
with:
test_scenarios: 'python.*'
# Wheel-only scenarios need DDTRACE_INSTALL_URL (dd-trace-py downstream
# gate), so they can't run here against PyPI ddtrace: every *_3.15.
# python_downstream_gate is an index README, not a runnable scenario.
# Go's regexp is RE2 (no negative lookahead), so this is an explicit
# exclude rather than a lookahead baked into test_scenarios.
# Additional wheel-only 3.14 dirs (e.g. live_heap) are added to this list
# when those scenarios land.
test_scenarios_exclude: '_3\.15$|^python_downstream_gate$'
secrets: inherit
full_host:
uses: ./.github/workflows/test.yml
with:
test_scenarios: full_host.*
secrets: inherit