-
Notifications
You must be signed in to change notification settings - Fork 9
83 lines (75 loc) · 2.31 KB
/
Copy pathscheduled-validation.yml
File metadata and controls
83 lines (75 loc) · 2.31 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
76
77
78
79
80
81
82
83
name: Scheduled validation
on:
schedule:
- cron: "17 3 * * 2,5"
workflow_dispatch:
concurrency:
group: scheduled-validation-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
stress:
name: Repeated contract and checker tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-python-tests
with:
python-version: "3.12"
- run: make test-stress
env:
PYTEST_ARGS: --durations=20
- run: make test-exhaustive
env:
PYTEST_ARGS: --durations=20
ordering:
name: Ordering ${{ matrix.lane }} seed ${{ matrix.seed }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
seed: [17, 20260727]
lane: [unit, component, domain, composition, storage, process, mcp, e2e]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-python-tests
with:
python-version: "3.12"
- run: make test-ordering
env:
ORDERING_LANE: ${{ matrix.lane }}
PYTEST_ARGS: --randomly-seed=${{ matrix.seed }} --durations=20
optional-providers:
name: Optional provider validation
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-python-tests
with:
python-version: "3.12"
- run: make test-provider
security-audit:
name: Dependency audit
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-python-tests
with:
python-version: "3.12"
- run: make security-audit
duplicate-code:
name: Duplicate code
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "20"
package-manager-cache: false
- run: make duplicate-code