Skip to content

Commit 71a4b11

Browse files
Fix run e2e workflow (#542)
1 parent a8d0d52 commit 71a4b11

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/e2e-suite-pr.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_dispatch:
44
inputs:
55
test_path:
6-
description: 'Test path to be tested: e.g. integration/cli'
6+
description: "The path from 'test/integration' to the target to be tested, e.g. 'cli'"
77
required: false
88
sha:
99
description: 'The hash value of the commit.'
@@ -30,7 +30,7 @@ jobs:
3030

3131
# Check out merge commit
3232
- name: Checkout PR
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
ref: ${{ inputs.sha }}
3636

@@ -56,13 +56,12 @@ jobs:
5656
owner: ${{ github.event.repository.owner.login }}
5757
repo: ${{ github.event.repository.name }}
5858
pr_num: ${{ fromJSON(inputs.pull_request_number) }}
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5961

6062
- name: Update system packages
6163
run: sudo apt-get update -y
6264

63-
- name: Install system deps
64-
run: sudo apt-get install -y build-essential
65-
6665
- name: Setup Python
6766
uses: actions/setup-python@v4
6867
with:
@@ -124,7 +123,7 @@ jobs:
124123

125124
# Check out merge commit
126125
- name: Checkout PR
127-
uses: actions/checkout@v3
126+
uses: actions/checkout@v4
128127
with:
129128
ref: ${{ inputs.sha }}
130129

@@ -196,4 +195,4 @@ jobs:
196195
status: 'completed',
197196
conclusion: process.env.conclusion
198197
});
199-
return result;
198+
return result;

0 commit comments

Comments
 (0)