Skip to content

Commit 6d12adb

Browse files
ETOgaosionhuangjunyi.0
authored andcommitted
[ci] fix: retry type check on cpu (volcengine#2887)
1 parent 74fa57d commit 6d12adb

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/type-coverage-check.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,24 @@ on:
44
pull_request:
55
paths:
66
- '**/*.py'
7+
- '.github/workflows/type-coverage-check.yml'
78

89
jobs:
910
type-coverage-check:
10-
runs-on: [L20x8]
11-
timeout-minutes: 20 # Increase this timeout value as needed
12-
env:
13-
HTTP_PROXY: ${{ secrets.PROXY_HTTP }}
14-
HTTPS_PROXY: ${{ secrets.PROXY_HTTPS }}
15-
NO_PROXY: "localhost,127.0.0.1,hf-mirror.com"
16-
HF_ENDPOINT: "https://hf-mirror.com"
17-
HF_HUB_ENABLE_HF_TRANSFER: 1
18-
SGL_DISABLE_TP_MEMORY_INBALANCE_CHECK: "True"
19-
container:
20-
image: verlai/verl:app-verl0.5-sglang0.4.9.post6-mcore0.12.2-te2.2
21-
options: --gpus all --shm-size=10g
11+
runs-on: ubuntu-latest
2212
steps:
23-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: actions/checkout@v4
2414
with:
2515
fetch-depth: 0 # 🚨 Important: fetch full history so `origin/main` is available
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.10'
20+
2621
- name: Install dependencies
2722
run: |
2823
pip install gitpython
29-
pip install -e .
24+
pip install -e .[sglang]
3025
- name: Run type annotation coverage check
3126
run: |
3227
python3 tests/special_sanity/type_coverage_check.py

0 commit comments

Comments
 (0)