update install code

This commit is contained in:
femisan 2025-03-02 15:33:09 +09:00
parent 0627bd0bc9
commit ceea119fcd

View file

@ -33,7 +33,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest torch==2.2.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests with pytest