Skip to content

Commit 0f4d591

Browse files
authored
ci: fix package test workflow (#499)
always checkout code in wheel test job
1 parent 3899543 commit 0f4d591

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/pkg_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ jobs:
9999
CUDA_VERSION: ${{ matrix.cuda }}
100100
TORCH_VERSION: ${{ matrix.torch }}
101101
steps:
102+
- name: Checkout
103+
uses: actions/checkout@v4
102104
- name: Delete old files
103105
run: rm -rf dist/*
104106

.github/workflows/pkg_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
CUDA_VERSION: ${{ matrix.cuda }}
8282
TORCH_VERSION: ${{ matrix.torch }}
8383
steps:
84+
- name: Checkout
85+
uses: actions/checkout@v4
8486
- name: Delete old files
8587
run: rm -rf dist/*
8688

.github/workflows/publish_pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696
CUDA_VERSION: ${{ matrix.cuda }}
9797
TORCH_VERSION: ${{ matrix.torch }}
9898
steps:
99+
- name: Checkout
100+
uses: actions/checkout@v4
99101
- name: Delete old files
100102
run: rm -rf dist/*
101103

requirements-test.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
pytest==8.3.1
1+
pytest==8.4.2
22
pytest-forked==1.6.0
3-
pytest-asyncio==0.23.8
4-
pytest-rerunfailures==14.0
3+
pytest-asyncio==1.2.0
4+
pytest-rerunfailures==16.0.1
55
pytest-shard==0.1.2
6-
requests==2.32.3
7-
anyio==4.4.0
8-
openai==1.37.0
9-
six==1.16.0
10-
transformers==4.43.3
11-
accelerate==0.33.0
12-
httpx==0.27.2
6+
requests==2.32.5
7+
anyio==4.10.0
8+
openai==1.107.2
9+
six==1.17.0
10+
httpx==0.27.2
11+
transformers==4.56.1
12+
accelerate==1.10.1

0 commit comments

Comments
 (0)