mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 16:27:45 +01:00
update workflow
This commit is contained in:
7
.github/workflows/citest.yaml
vendored
7
.github/workflows/citest.yaml
vendored
@@ -54,7 +54,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: 'true'
|
||||
lfs: 'false'
|
||||
submodules: 'true'
|
||||
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
|
||||
- name: Get changed files
|
||||
@@ -65,8 +65,9 @@ jobs:
|
||||
else
|
||||
echo "PR_CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | xargs)" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Checkout LFS objects
|
||||
run: git lfs checkout
|
||||
- name: Fetch LFS objects
|
||||
run: |
|
||||
git lfs pull
|
||||
- name: Run unittest
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user