Added caching

pull/71/head
Ajeet yadav 10 months ago
parent a83f195d4c
commit 4fc92504f4

@ -16,6 +16,9 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
defaults:
run:
working-directory: 01OS
steps:
- name: Checkout
uses: actions/checkout@v4
@ -23,14 +26,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install Poetry Package
working-directory: 01OS
run: |
sudo apt-get install portaudio19-dev python-all-dev
pip install --upgrade pip
pip install poetry==1.3.2
poetry config virtualenvs.create false
poetry install --no-interaction --with dev
- name: Run Pre-commit
working-directory: 01OS
run: pytest test
- name: Run Pytest
run: pytest tests

Loading…
Cancel
Save