forked from cli/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.go
More file actions
52 lines (45 loc) · 1.17 KB
/
test.go
File metadata and controls
52 lines (45 loc) · 1.17 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
package shared
var AWorkflow = Workflow{
Name: "a workflow",
ID: 123,
Path: ".github/workflows/flow.yml",
State: Active,
}
var AWorkflowContent = `{"content":"bmFtZTogYSB3b3JrZmxvdwo="}`
var DisabledWorkflow = Workflow{
Name: "a disabled workflow",
ID: 456,
Path: ".github/workflows/disabled.yml",
State: DisabledManually,
}
var DisabledInactivityWorkflow = Workflow{
Name: "a disabled inactivity workflow",
ID: 1206,
Path: ".github/workflows/disabledInactivity.yml",
State: DisabledInactivity,
}
var AnotherDisabledWorkflow = Workflow{
Name: "a disabled workflow",
ID: 1213,
Path: ".github/workflows/anotherDisabled.yml",
State: DisabledManually,
}
var UniqueDisabledWorkflow = Workflow{
Name: "terrible workflow",
ID: 1314,
Path: ".github/workflows/terrible.yml",
State: DisabledManually,
}
var AnotherWorkflow = Workflow{
Name: "another workflow",
ID: 789,
Path: ".github/workflows/another.yml",
State: Active,
}
var AnotherWorkflowContent = `{"content":"bmFtZTogYW5vdGhlciB3b3JrZmxvdwo="}`
var YetAnotherWorkflow = Workflow{
Name: "another workflow",
ID: 1011,
Path: ".github/workflows/yetanother.yml",
State: Active,
}