mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-29 17:22:25 +06:00
remove some commands from fetch_tests
CircleCI job (#38176)
delete Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
91f6fa00f4
commit
120935234f
@ -43,8 +43,6 @@ jobs:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: git branch
|
|
||||||
- run: git log -n 1
|
|
||||||
- run: python3 utils/extract_pr_number_from_circleci.py > pr_number.txt
|
- run: python3 utils/extract_pr_number_from_circleci.py > pr_number.txt
|
||||||
- run: echo $(cat pr_number.txt)
|
- run: echo $(cat pr_number.txt)
|
||||||
- run: if [[ "$(cat pr_number.txt)" == "" && "$CIRCLE_BRANCH" != "main" && "$CIRCLE_BRANCH" != *-release ]]; then echo "Not a PR, not the main branch and not a release branch, skip test!"; circleci-agent step halt; fi
|
- run: if [[ "$(cat pr_number.txt)" == "" && "$CIRCLE_BRANCH" != "main" && "$CIRCLE_BRANCH" != *-release ]]; then echo "Not a PR, not the main branch and not a release branch, skip test!"; circleci-agent step halt; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user