[CI] add lint block before running e2e (#2447)
### What this PR does / why we need it? add lint block before running e2e. follow up https://github.com/vllm-project/vllm-ascend/pull/2445 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? N/A Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
1 parent
1327f9be1c
commit
3a384492e1
1 file changed
+2
-2
@@ -130,9 +130,9 @@ jobs:
|
||||
verbose: true
|
||||
|
||||
e2e:
|
||||
needs: [changes]
|
||||
needs: [lint, changes]
|
||||
# only trigger e2e test after lint passed and the change is e2e related with pull request.
|
||||
if: ${{ github.event_name == 'pull_request' && needs.changes.outputs.e2e_tracker == 'true' }}
|
||||
if: ${{ github.event_name == 'pull_request' && needs.lint.result == 'success' && needs.changes.outputs.e2e_tracker == 'true' }}
|
||||
strategy:
|
||||
max-parallel: 2
|
||||
matrix:
|
||||
|
||||
Reference in new issue
Block a user