mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-30 20:24:31 +00:00
fix: remove useless caching
This commit is contained in:
@@ -9,30 +9,15 @@ jobs:
|
|||||||
working_directory: ~/spleeter
|
working_directory: ~/spleeter
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
|
||||||
- python-3.6-cache-{{ .Branch }}-
|
|
||||||
- python-3.6-cache-
|
|
||||||
- restore_cache:
|
|
||||||
key: models-{{ checksum "spleeter/model/__init__.py" }}
|
|
||||||
- run:
|
- run:
|
||||||
name: install ffmpeg
|
name: install ffmpeg
|
||||||
command: apt-get update && apt-get install -y ffmpeg
|
command: apt-get update && apt-get install -y ffmpeg
|
||||||
- run:
|
- run:
|
||||||
name: install python dependencies
|
name: install python dependencies
|
||||||
command: pip install -r requirements.txt && pip install pytest
|
command: pip install -r requirements.txt && pip install pytest
|
||||||
- save_cache:
|
|
||||||
key: python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
|
||||||
paths:
|
|
||||||
- "/usr"
|
|
||||||
- run:
|
- run:
|
||||||
name: pytest
|
name: pytest
|
||||||
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
||||||
- save_cache:
|
|
||||||
key: models-{{ checksum "spleeter/model/__init__.py" }}
|
|
||||||
paths:
|
|
||||||
- "pretrained_models"
|
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
# Python 3.7 testing.
|
# Python 3.7 testing.
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
@@ -42,30 +27,15 @@ jobs:
|
|||||||
working_directory: ~/spleeter
|
working_directory: ~/spleeter
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
|
||||||
- python-3.7-cache-{{ .Branch }}-
|
|
||||||
- python-3.7-cache-
|
|
||||||
- restore_cache:
|
|
||||||
key: models-{{ checksum "spleeter/model/__init__.py" }}
|
|
||||||
- run:
|
- run:
|
||||||
name: install ffmpeg
|
name: install ffmpeg
|
||||||
command: apt-get update && apt-get install -y ffmpeg
|
command: apt-get update && apt-get install -y ffmpeg
|
||||||
- run:
|
- run:
|
||||||
name: install python dependencies
|
name: install python dependencies
|
||||||
command: pip install -r requirements.txt && pip install pytest
|
command: pip install -r requirements.txt && pip install pytest
|
||||||
- save_cache:
|
|
||||||
key: python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
|
||||||
paths:
|
|
||||||
- "/usr"
|
|
||||||
- run:
|
- run:
|
||||||
name: pytest
|
name: pytest
|
||||||
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
||||||
- save_cache:
|
|
||||||
key: models-{{ checksum "spleeter/model/__init__.py" }}
|
|
||||||
paths:
|
|
||||||
- "pretrained_models"
|
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
# Source distribution packaging.
|
# Source distribution packaging.
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user