File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 8
8
paths :
9
9
- ' frontend/**'
10
10
11
+
12
+ env :
13
+ APPLITOOLS_BATCH_ID : ${{ github.event.pull_request.head.sha || github.sha }}
14
+
11
15
jobs :
12
16
# Initializes common variables and environment prior to executing other jobs
13
17
setup :
14
18
runs-on : ubuntu-24.04
15
19
outputs :
16
- eyes-batch-id : ${{ github.event.pull_request.head.sha || github.sha }}
20
+ eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
21
+ steps :
22
+ - name : Generate Eyes Batch ID
23
+ run : echo "uuid=$(uuidgen)" >> $GITHUB_OUTPUT
17
24
18
25
marketing :
19
26
needs : setup
20
27
uses : ./.github/workflows/orig-marketing-app-ci.yml
21
28
secrets : inherit
22
29
with :
23
- eyes-batch-id : ${{ needs.setup.outputs.eyes-batch-id }}
30
+ eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
24
31
25
32
component-library :
26
33
needs : setup
27
34
uses : ./.github/workflows/component-library-ci.yml
28
35
secrets : inherit
29
36
with :
30
- eyes-batch-id : ${{ needs.setup.outputs.eyes-batch-id }}
37
+ eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
31
38
32
- eyes-close-batch :
33
- # Close the eyes batch after all distributed eyes tests have completed
39
+ teardown :
34
40
needs : [setup, marketing, component-library]
35
41
if : always()
36
42
runs-on : ubuntu-24.04
37
43
steps :
44
+ # Close the eyes batch after all distributed eyes tests have completed
38
45
- name : Update Applitools batch status
39
46
shell : bash
40
47
run : |
41
- curl -X POST -d -H "accept:*/*" https://eyesapi.applitools.com/api/externals/github/servers/github.com/commit/${{ needs.setup.outputs.eyes-batch-id }}/complete?apiKey=${{secrets.APPLITOOLS_API_KEY}}
48
+ curl -X POST -d -H "accept:*/*" https://eyesapi.applitools.com/api/externals/github/servers/github.com/commit/${{ env.APPLITOOLS_BATCH_ID }}/complete?apiKey=${{secrets.APPLITOOLS_API_KEY}}
You can’t perform that action at this time.
0 commit comments