mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
💚 fix poetry installation
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -28,7 +28,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get install -y ffmpeg
|
sudo apt-get update && sudo apt-get install -y ffmpeg
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
uses: dschep/install-poetry-action@v1.2
|
run: |
|
||||||
|
pip install poetry
|
||||||
|
poetry config settings.virtualenvs.in-project false
|
||||||
|
poetry config settings.virtualenvs.path ~/.virtualenvs
|
||||||
- name: Cache Poetry virtualenv
|
- name: Cache Poetry virtualenv
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
id: cache
|
id: cache
|
||||||
@@ -37,10 +40,6 @@ jobs:
|
|||||||
key: poetry-${{ hashFiles('**/poetry.lock') }}
|
key: poetry-${{ hashFiles('**/poetry.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
poetry-${{ hashFiles('**/poetry.lock') }}
|
poetry-${{ hashFiles('**/poetry.lock') }}
|
||||||
- name: Set Poetry config
|
|
||||||
run: |
|
|
||||||
poetry config settings.virtualenvs.in-project false
|
|
||||||
poetry config settings.virtualenvs.path ~/.virtualenvs
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: poetry install
|
run: poetry install
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user