mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-20 13:07:52 +09:00
fix github actions
This commit is contained in:
1 parent
b10d8bba68
commit
66d6ccd0d5
2 files changed
+23
-6
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user