This commit is contained in:
hiyouga
2025-12-27 08:18:20 +08:00
parent f69c8efd27
commit 5eea54f888
2 changed files with 22 additions and 8 deletions

View File

@@ -74,19 +74,26 @@ jobs:
- name: Check quality
run: |
UV_NO_SYNC=1 make style && make quality
make style && make quality
env:
UV_NO_SYNC: 1
- name: Check license
run: |
UV_NO_SYNC=1 make license
make license
env:
UV_NO_SYNC: 1
- name: Check build
run: |
UV_NO_SYNC=1 make build
make build
env:
UV_NO_SYNC: 1
- name: Test with pytest
run: |
UV_NO_SYNC=1 make test
make test
env:
UV_NO_SYNC: 1
HF_HOME: /root/.cache/huggingface
HF_HUB_OFFLINE: "${{ steps.hf-hub-cache.outputs.cache-hit == 'true' && '1' || '0' }}"