Skip to content

Commit

Permalink
test CI windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoangthuan99 committed Dec 6, 2024
1 parent df5c2e3 commit 237e425
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
submodules: recursive
repository: janhq/models
ref: "feat/ci-python-models"
- name: use python
if : runner.os == 'Windows'
uses: actions/setup-python@v5
with:
python-version: "3.10"

# - name: Install Miniconda on Linux
# if: runner.os == 'Linux'
Expand Down Expand Up @@ -83,11 +88,8 @@ jobs:
shell: pwsh
run: |
conda create -y -n ${{env.MODEL_NAME}} python=3.11
conda activate ${{env.MODEL_NAME}}
python -m pip install --upgrade pip
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
python3 -m pip install --upgrade pip
python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
# - name: Install dependencies Linux
# if: runner.os == 'linux'
Expand Down Expand Up @@ -115,7 +117,6 @@ jobs:
if : runner.os == 'windows'
shell: pwsh
run: |
conda activate ${{env.MODEL_NAME}}
$pythonPath = where.exe python
echo "Python path (where.exe): $pythonPath"
Expand Down

0 comments on commit 237e425

Please sign in to comment.