Skip to content

Commit ea8be2b

Browse files
committed
Add e2e tests for steps context functionality
1 parent a9bcb21 commit ea8be2b

24 files changed

Lines changed: 1241 additions & 0 deletions
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
PushNodeVisit: start, execute: true
17+
🟢 Execute 'Run Script (step1)'
18+
PushNodeVisit: step1, execute: true
19+
step1 executed
20+
🟢 Execute 'Run Script (step2)'
21+
PushNodeVisit: step2, execute: true
22+
step2 executed
23+
🟢 Execute 'Print (final-print)'
24+
PushNodeVisit: final-print, execute: true
25+
PushNodeVisit: print-conclusions, execute: false
26+
step1.conclusion: success, step2.conclusion: success
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
evaluated to: 'false'
2+
evaluated to: 'steps_gh.act'
3+
found value in flags
4+
found value in: 'env (shell)'
5+
no value (is optional) found for: 'concurrency'
6+
no value (is optional) found for: 'config_file'
7+
no value (is optional) found for: 'env_file'
8+
no value (is optional) found for: 'session_token'
9+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
10+
PushNodeVisit: core-concurrent-exec-v1-gold-raspberry-jellyfish, execute: true
11+
PushNodeVisit: core-concurrent-exec-v1-plum-parrot-tangerine, execute: true
12+
PushNodeVisit: core-const-string-v1-black-snake-violet, execute: false
13+
PushNodeVisit: core-const-string-v1-black-snake-violet, execute: false
14+
PushNodeVisit: core-const-string-v1-black-snake-violet, execute: false
15+
PushNodeVisit: core-const-string-v1-black-snake-violet, execute: false
16+
PushNodeVisit: core-const-string-v1-black-snake-violet, execute: false
17+
PushNodeVisit: core-const-string-v1-grape-jellyfish-shark, execute: false
18+
PushNodeVisit: core-const-string-v1-grape-jellyfish-shark, execute: false
19+
PushNodeVisit: core-const-string-v1-grape-jellyfish-shark, execute: false
20+
PushNodeVisit: core-const-string-v1-grape-jellyfish-shark, execute: false
21+
PushNodeVisit: core-const-string-v1-grape-jellyfish-shark, execute: false
22+
PushNodeVisit: core-const-string-v1-lion-gray-blackberry, execute: false
23+
PushNodeVisit: core-const-string-v1-lion-gray-blackberry, execute: false
24+
PushNodeVisit: core-const-string-v1-lion-gray-blackberry, execute: false
25+
PushNodeVisit: core-const-string-v1-lion-gray-blackberry, execute: false
26+
PushNodeVisit: core-const-string-v1-lion-gray-blackberry, execute: false
27+
PushNodeVisit: core-const-string-v1-nectarine-jellyfish-rabbit, execute: false
28+
PushNodeVisit: core-const-string-v1-nectarine-jellyfish-rabbit, execute: false
29+
PushNodeVisit: core-const-string-v1-nectarine-jellyfish-rabbit, execute: false
30+
PushNodeVisit: core-const-string-v1-nectarine-jellyfish-rabbit, execute: false
31+
PushNodeVisit: core-const-string-v1-nectarine-jellyfish-rabbit, execute: false
32+
PushNodeVisit: core-const-string-v1-squirrel-octopus-pineapple, execute: false
33+
PushNodeVisit: core-const-string-v1-squirrel-octopus-pineapple, execute: false
34+
PushNodeVisit: core-const-string-v1-squirrel-octopus-pineapple, execute: false
35+
PushNodeVisit: core-const-string-v1-squirrel-octopus-pineapple, execute: false
36+
PushNodeVisit: core-const-string-v1-squirrel-octopus-pineapple, execute: false
37+
PushNodeVisit: core-print-v1-blackberry-teal-fig, execute: true
38+
PushNodeVisit: core-print-v1-blackberry-teal-fig, execute: true
39+
PushNodeVisit: core-print-v1-blackberry-teal-fig, execute: true
40+
PushNodeVisit: core-print-v1-blackberry-teal-fig, execute: true
41+
PushNodeVisit: core-print-v1-blackberry-teal-fig, execute: true
42+
PushNodeVisit: core-sequence-v1-giraffe-fox-jackfruit, execute: true
43+
PushNodeVisit: left, execute: true
44+
PushNodeVisit: left-2, execute: true
45+
PushNodeVisit: right, execute: true
46+
PushNodeVisit: right-2, execute: true
47+
PushNodeVisit: root, execute: true
48+
PushNodeVisit: start, execute: true
49+
build hasn't expired yet
50+
left-2.LEFT_2:
51+
left-2.LEFT_2:
52+
left-2.LEFT_2:
53+
left-2.LEFT_2:
54+
left-2.LEFT_2: Left 2 Value
55+
left.LEFT:
56+
left.LEFT:
57+
left.LEFT:
58+
left.LEFT: Left Value
59+
left.LEFT: Left Value
60+
looking for value: 'concurrency'
61+
looking for value: 'config_file'
62+
looking for value: 'create_debug_session'
63+
looking for value: 'env_file'
64+
looking for value: 'graph_file'
65+
looking for value: 'session_token'
66+
right-2.RIGHT_2:
67+
right-2.RIGHT_2:
68+
right-2.RIGHT_2:
69+
right-2.RIGHT_2:
70+
right-2.RIGHT_2: Right Value
71+
right.RIGHT:
72+
right.RIGHT:
73+
right.RIGHT:
74+
right.RIGHT:
75+
right.RIGHT: Right Value
76+
root.ROOT: Im the root value
77+
root.ROOT: Im the root value
78+
root.ROOT: Im the root value
79+
root.ROOT: Im the root value
80+
root.ROOT: Im the root value
81+
set left-2.LEFT_2
82+
set left.LEFT
83+
set right-2.RIGHT_2
84+
set right.RIGHT
85+
set root.ROOT
86+
🟢 Execute 'Concurrent Execution (core-concurrent-exec-v1-gold-raspberry-jellyfish)'
87+
🟢 Execute 'Concurrent Execution (core-concurrent-exec-v1-plum-parrot-tangerine)'
88+
🟢 Execute 'Print (core-print-v1-blackberry-teal-fig)'
89+
🟢 Execute 'Print (core-print-v1-blackberry-teal-fig)'
90+
🟢 Execute 'Print (core-print-v1-blackberry-teal-fig)'
91+
🟢 Execute 'Print (core-print-v1-blackberry-teal-fig)'
92+
🟢 Execute 'Print (core-print-v1-blackberry-teal-fig)'
93+
🟢 Execute 'Run Script (left)'
94+
🟢 Execute 'Run Script (left-2)'
95+
🟢 Execute 'Run Script (right)'
96+
🟢 Execute 'Run Script (right-2)'
97+
🟢 Execute 'Run Script (root)'
98+
🟢 Execute 'Sequence (core-sequence-v1-giraffe-fox-jackfruit)'
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_conclusion.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (step-success)'
19+
PushNodeVisit: step-success, execute: true
20+
This step will succeed
21+
🟢 Execute 'Print (final-print)'
22+
PushNodeVisit: final-print, execute: true
23+
PushNodeVisit: print-conclusion-success, execute: false
24+
PushNodeVisit: print-output, execute: false
25+
step-success.conclusion: success
26+
step-success.outputs.SUCCESS_OUTPUT: worked
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_env.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (step-set-env)'
19+
PushNodeVisit: step-set-env, execute: true
20+
Setting MY_VAR via GITHUB_ENV
21+
🟢 Execute 'Run Script (step-read-env)'
22+
PushNodeVisit: step-read-env, execute: true
23+
Reading MY_VAR: hello_from_env
24+
🟢 Execute 'Print (final-print)'
25+
PushNodeVisit: final-print, execute: true
26+
PushNodeVisit: print-value, execute: false
27+
Read from step output: hello_from_env
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_forloop.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (init-step)'
19+
PushNodeVisit: init-step, execute: true
20+
Setting INIT_VALUE
21+
🟢 Execute 'For Loop (for-loop)'
22+
PushNodeVisit: for-loop, execute: true
23+
🟢 Execute 'Run Script (loop-step)'
24+
PushNodeVisit: loop-step, execute: true
25+
PushNodeVisit: index-to-array, execute: false
26+
PushNodeVisit: (cached) for-loop, execute: false
27+
Loop iteration 0
28+
🟢 Execute 'Print (loop-print)'
29+
PushNodeVisit: loop-print, execute: true
30+
PushNodeVisit: print-init, execute: false
31+
PushNodeVisit: print-loop, execute: false
32+
init-step.INIT_VALUE: initialized
33+
loop-step.LOOP_OUTPUT: iteration_0
34+
🟢 Execute 'Run Script (loop-step)'
35+
PushNodeVisit: loop-step, execute: true
36+
PushNodeVisit: index-to-array, execute: false
37+
PushNodeVisit: (cached) for-loop, execute: false
38+
Loop iteration 1
39+
🟢 Execute 'Print (loop-print)'
40+
PushNodeVisit: loop-print, execute: true
41+
PushNodeVisit: print-init, execute: false
42+
PushNodeVisit: print-loop, execute: false
43+
init-step.INIT_VALUE: initialized
44+
loop-step.LOOP_OUTPUT: iteration_1
45+
🟢 Execute 'Run Script (loop-step)'
46+
PushNodeVisit: loop-step, execute: true
47+
PushNodeVisit: index-to-array, execute: false
48+
PushNodeVisit: (cached) for-loop, execute: false
49+
Loop iteration 2
50+
🟢 Execute 'Print (loop-print)'
51+
PushNodeVisit: loop-print, execute: true
52+
PushNodeVisit: print-init, execute: false
53+
PushNodeVisit: print-loop, execute: false
54+
init-step.INIT_VALUE: initialized
55+
loop-step.LOOP_OUTPUT: iteration_2
56+
🟢 Execute 'Run Script (loop-step)'
57+
PushNodeVisit: loop-step, execute: true
58+
PushNodeVisit: index-to-array, execute: false
59+
PushNodeVisit: (cached) for-loop, execute: false
60+
Loop iteration 3
61+
🟢 Execute 'Print (loop-print)'
62+
PushNodeVisit: loop-print, execute: true
63+
PushNodeVisit: print-init, execute: false
64+
PushNodeVisit: print-loop, execute: false
65+
init-step.INIT_VALUE: initialized
66+
loop-step.LOOP_OUTPUT: iteration_3
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_heredoc.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (step-heredoc)'
19+
PushNodeVisit: step-heredoc, execute: true
20+
Setting MULTILINE_OUTPUT using heredoc
21+
🟢 Execute 'Run Script (step-simple)'
22+
PushNodeVisit: step-simple, execute: true
23+
Setting SIMPLE_OUTPUT
24+
🟢 Execute 'Print (final-print)'
25+
PushNodeVisit: final-print, execute: true
26+
PushNodeVisit: print-heredoc, execute: false
27+
PushNodeVisit: print-simple, execute: false
28+
heredoc output: [Line 1
29+
Line 2
30+
Line 3]
31+
simple output: [simple_value]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_path.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (step-add-path)'
19+
PushNodeVisit: step-add-path, execute: true
20+
Adding [REDACTED]/bin to PATH via GITHUB_PATH
21+
🟢 Execute 'Run Script (step-check-path)'
22+
PushNodeVisit: step-check-path, execute: true
23+
SUCCESS: PATH contains [REDACTED]/bin
24+
🟢 Execute 'Print (final-print)'
25+
PushNodeVisit: final-print, execute: true
26+
PushNodeVisit: print-result, execute: false
27+
Path modification result: path_modified
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
build hasn't expired yet
2+
looking for value: 'env_file'
3+
no value (is optional) found for: 'env_file'
4+
looking for value: 'config_file'
5+
no value (is optional) found for: 'config_file'
6+
looking for value: 'concurrency'
7+
no value (is optional) found for: 'concurrency'
8+
looking for value: 'graph_file'
9+
found value in: 'env (shell)'
10+
evaluated to: 'steps_gh_sequential.act'
11+
looking for value: 'session_token'
12+
no value (is optional) found for: 'session_token'
13+
looking for value: 'create_debug_session'
14+
found value in flags
15+
evaluated to: 'false'
16+
GitHub workflow detected via GITHUB_ACTIONS environment variable (.env or shell)changing working directory to GITHUB_WORKSPACE: [REDACTED]/scripts
17+
PushNodeVisit: start, execute: true
18+
🟢 Execute 'Run Script (step1)'
19+
PushNodeVisit: step1, execute: true
20+
Setting STEP1_OUTPUT
21+
🟢 Execute 'Run Script (step2)'
22+
PushNodeVisit: step2, execute: true
23+
Setting STEP2_OUTPUT
24+
🟢 Execute 'Print (final-print)'
25+
PushNodeVisit: final-print, execute: true
26+
PushNodeVisit: print-step1, execute: false
27+
PushNodeVisit: print-step2, execute: false
28+
step1.STEP1_OUTPUT: value_from_step1
29+
step2.STEP2_OUTPUT: value_from_step2

0 commit comments

Comments
 (0)