github: remove *requirements.txt from tests.yaml
This commit is contained in:
committed by
Aleix Conchillo Flaqué
parent
28eba17df8
commit
1f06d78213
11
.github/workflows/tests.yaml
vendored
11
.github/workflows/tests.yaml
vendored
@@ -25,14 +25,7 @@ jobs:
|
|||||||
id: setup_python
|
id: setup_python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: "3.10"
|
||||||
- name: Cache virtual environment
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
# We are hashing requirements-dev.txt and requirements-extra.txt which
|
|
||||||
# contain all dependencies needed to run the tests and examples.
|
|
||||||
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('linux-py3.10-requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }}
|
|
||||||
path: .venv
|
|
||||||
- name: Install system packages
|
- name: Install system packages
|
||||||
run: sudo apt-get install -y portaudio19-dev
|
run: sudo apt-get install -y portaudio19-dev
|
||||||
- name: Setup virtual environment
|
- name: Setup virtual environment
|
||||||
@@ -42,7 +35,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r linux-py3.10-requirements.txt -r dev-requirements.txt
|
pip install -r dev-requirements.txt
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user