github: add venv caching
This commit is contained in:
6
.github/workflows/tests.yaml
vendored
6
.github/workflows/tests.yaml
vendored
@@ -22,9 +22,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up 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:
|
||||||
|
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}
|
||||||
|
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: Install basic dependencies
|
- name: Install basic dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user