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

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

View File

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