forked from dagger/dagger
-
Notifications
You must be signed in to change notification settings - Fork 0
102 lines (92 loc) · 3.31 KB
/
engine-and-cli-split.yml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Engine & CLI split
on:
push:
branches: ["main"]
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
# Enable manual trigger for easy debugging
workflow_dispatch:
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-modules:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-16c-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --run=TestModule --race=true --parallel=16"
upload-logs: true
test-module-runtimes:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-16c-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --run='TestGo|TestPython|TestTypescript|TestElixir|TestPHP' --race=true --parallel=16"
upload-logs: true
test-cli-engine:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-16c-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --run='TestCLI|TestEngine' --race=true --parallel=16"
upload-logs: true
test-everything-else:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-16c-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --skip='TestModule|TestGo|TestPython|TestTypescript|TestElixir|TestPHP|TestCLI|TestEngine' --race=true --parallel=16"
upload-logs: true
testdev-modules:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-32c-dind-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "testdev"
uses: ./.github/actions/call
with:
function: "test specific --run='TestModule' --skip='TestDev' --race=true --parallel=16"
dev-engine: true
upload-logs: true
testdev-module-runtimes:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-32c-dind-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "testdev"
uses: ./.github/actions/call
with:
function: "test specific --run='TestGo|TestPython|TestTypescript|TestElixir|TestPHP' --skip='TestDev' --race=true --parallel=16"
dev-engine: true
upload-logs: true
testdev-container:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-13-5-32c-dind-st' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "testdev"
uses: ./.github/actions/call
with:
function: "test specific --run='TestContainer' --skip='TestDev' --race=true --parallel=16"
dev-engine: true
upload-logs: true