update action setting.

This commit is contained in:
femisan 2025-03-02 15:28:24 +09:00
parent 5988a3ffdd
commit 0627bd0bc9

View file

@ -19,7 +19,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"] python-version: ["3.10", "3.11"]
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -33,8 +33,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pytest torch==2.2.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest
- name: Run tests with pytest - name: Run tests with pytest
run: | run: |