15
15
build :
16
16
name : Build CI Docker / Build images
17
17
# Only run on PRs from external repositories.
18
- if : ${{ startsWith( github.event_name, 'pull') && github.event.pull_request.head.repo.fork }}
18
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- run : ' echo "Skipping job on fork"'
@@ -24,116 +24,134 @@ jobs:
24
24
# # The following jobs are related to sub-ci-unit-tests-docker.yml
25
25
# ##
26
26
test-all :
27
- name : Test all
27
+ name : Unit tests / Test all
28
28
runs-on : ubuntu-latest
29
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
29
30
steps :
30
31
- run : ' echo "Skipping job on fork"'
31
32
32
33
test-fake-activation-heights :
33
- name : Test with fake activation heights
34
+ name : Unit tests / Test with fake activation heights
34
35
runs-on : ubuntu-latest
36
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
35
37
steps :
36
38
- run : ' echo "Skipping job on fork"'
37
39
38
40
test-empty-sync :
39
- name : Test checkpoint sync from empty state
41
+ name : Unit tests / Test checkpoint sync from empty state
40
42
runs-on : ubuntu-latest
43
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
41
44
steps :
42
45
- run : ' echo "Skipping job on fork"'
43
46
44
47
test-lightwalletd-integration :
45
- name : Test integration with lightwalletd
48
+ name : Unit tests / Test integration with lightwalletd
46
49
runs-on : ubuntu-latest
50
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
47
51
steps :
48
52
- run : ' echo "Skipping job on fork"'
49
53
50
54
test-configuration-file :
51
- name : Test CI default Docker config file / Test default-conf in Docker
55
+ name : Unit tests / Test CI default Docker config file / Test default-conf in Docker
52
56
runs-on : ubuntu-latest
57
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
53
58
steps :
54
59
- run : ' echo "Skipping job on fork"'
55
60
56
61
test-configuration-file-testnet :
57
- name : Test CI testnet Docker config file / Test default -conf in Docker
62
+ name : Unit tests / Test CI testnet Docker config file / Test testnet -conf in Docker
58
63
needs : build
59
64
runs-on : ubuntu-latest
65
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
60
66
steps :
61
67
- run : ' echo "Skipping job on fork"'
62
68
63
69
test-zebra-conf-path :
64
- name : Test CI custom Docker config file / Test custom-conf in Docker
70
+ name : Unit tests / Test CI custom Docker config file / Test custom-conf in Docker
65
71
runs-on : ubuntu-latest
72
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
66
73
steps :
67
74
- run : ' echo "Skipping job on fork"'
68
75
69
-
76
+ # ###
70
77
# ###
71
78
# # The following jobs are related to sub-ci-integration-tests-gcp.yml
72
79
# ##
73
80
74
81
# We don't patch the testnet job, because testnet isn't required to merge (it's too unstable)
75
82
get-available-disks :
76
- name : Check if cached state disks exist for Mainnet / Check if cached state disks exist
83
+ name : Integration tests / Check if cached state disks exist for Mainnet / Get Mainnet cached disk
77
84
runs-on : ubuntu-latest
85
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
78
86
steps :
79
87
- run : ' echo "Skipping job on fork"'
80
88
81
89
test-stateful-sync :
82
- name : Zebra checkpoint update / Run sync-past-checkpoint test
90
+ name : Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test
83
91
runs-on : ubuntu-latest
92
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
84
93
steps :
85
94
- run : ' echo "Skipping job on fork"'
86
95
87
96
test-update-sync :
88
- name : Zebra tip update / Run update-to-tip test
97
+ name : Integration tests / Zebra tip update / Run update-to-tip test
89
98
runs-on : ubuntu-latest
99
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
90
100
steps :
91
101
- run : ' echo "Skipping job on fork"'
92
102
93
103
checkpoints-mainnet :
94
- name : Generate checkpoints mainnet / Run checkpoints-mainnet test
104
+ name : Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test
95
105
runs-on : ubuntu-latest
106
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
96
107
steps :
97
108
- run : ' echo "Skipping job on fork"'
98
109
99
110
lightwalletd-rpc-test :
100
- name : Zebra tip JSON-RPC / Run fully-synced-rpc test
111
+ name : Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test
101
112
runs-on : ubuntu-latest
113
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
102
114
steps :
103
115
- run : ' echo "Skipping job on fork"'
104
116
105
117
lightwalletd-transactions-test :
106
- name : lightwalletd tip send / Run lwd-send-transactions test
118
+ name : Integration tests / lightwalletd tip send / Run lwd-send-transactions test
107
119
runs-on : ubuntu-latest
120
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
108
121
steps :
109
122
- run : ' echo "Skipping job on fork"'
110
123
111
124
get-block-template-test :
112
- name : get block template / Run get-block-template test
125
+ name : Integration tests / get block template / Run get-block-template test
113
126
runs-on : ubuntu-latest
127
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
114
128
steps :
115
129
- run : ' echo "Skipping job on fork"'
116
130
117
131
submit-block-test :
118
- name : submit block / Run submit-block test
132
+ name : Integration tests / submit block / Run submit-block test
119
133
runs-on : ubuntu-latest
134
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
120
135
steps :
121
136
- run : ' echo "Skipping job on fork"'
122
137
123
138
lightwalletd-full-sync :
124
- name : lightwalletd tip / Run lwd-full-sync test
139
+ name : Integration tests / lightwalletd tip / Run lwd-full-sync test
125
140
runs-on : ubuntu-latest
141
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
126
142
steps :
127
143
- run : ' echo "Skipping job on fork"'
128
144
129
145
lightwalletd-update-sync :
130
- name : lightwalletd tip update / Run lwd-update-sync test
146
+ name : Integration tests / lightwalletd tip update / Run lwd-update-sync test
131
147
runs-on : ubuntu-latest
148
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
132
149
steps :
133
150
- run : ' echo "Skipping job on fork"'
134
151
135
152
lightwalletd-grpc-test :
136
- name : lightwalletd GRPC tests / Run lwd-grpc-wallet test
153
+ name : Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test
137
154
runs-on : ubuntu-latest
155
+ if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}
138
156
steps :
139
157
- run : ' echo "Skipping job on fork"'
0 commit comments