Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 237e425

Browse files
test CI windows
1 parent df5c2e3 commit 237e425

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
submodules: recursive
4646
repository: janhq/models
4747
ref: "feat/ci-python-models"
48+
- name: use python
49+
if : runner.os == 'Windows'
50+
uses: actions/setup-python@v5
51+
with:
52+
python-version: "3.10"
4853

4954
# - name: Install Miniconda on Linux
5055
# if: runner.os == 'Linux'
@@ -83,11 +88,8 @@ jobs:
8388
shell: pwsh
8489
run: |
8590
86-
conda create -y -n ${{env.MODEL_NAME}} python=3.11
87-
88-
conda activate ${{env.MODEL_NAME}}
89-
python -m pip install --upgrade pip
90-
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
91+
python3 -m pip install --upgrade pip
92+
python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
9193
9294
# - name: Install dependencies Linux
9395
# if: runner.os == 'linux'
@@ -115,7 +117,6 @@ jobs:
115117
if : runner.os == 'windows'
116118
shell: pwsh
117119
run: |
118-
conda activate ${{env.MODEL_NAME}}
119120
$pythonPath = where.exe python
120121
echo "Python path (where.exe): $pythonPath"
121122

0 commit comments

Comments
 (0)