fix github actions

This commit is contained in:
Vadim committed 2025-06-06 00:07:30 +02:00
1 parent b10d8bba68
commit 66d6ccd0d5
2 files changed
+23 -6

No files matched your search

+13 -4
View File
@@ -3,11 +3,13 @@ name: Check Requirements
on:
push:
paths:
- "requirements.txt"
- "requirements-linux.txt"
- "requirements-windows.txt"
pull_request:
paths:
- "requirements.txt"
- "requirements-linux.txt"
- "requirements-windows.txt"
jobs:
build:
@@ -32,10 +34,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install dependencies (Windows)
if: matrix.TARGET == 'Windows'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-windows.txt
- name: Install dependencies (others)
if: matrix.TARGET != 'Windows'
run: |
python -m pip install --upgrade pip
pip install -r requirements-linux.txt
- name: Install gpu dependencies
if: matrix.TARGET != 'macOS'
+10 -2
View File
@@ -18,10 +18,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install dependencies (Windows)
if: matrix.TARGET == 'Windows'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-windows.txt
#pip install -e .
- name: Install dependencies (others)
if: matrix.TARGET != 'Windows'
run: |
python -m pip install --upgrade pip
pip install -r requirements-linux.txt
#pip install -e .
- name: Run pytest