From 1f06d7821335598351d02b6c212403fd702ec6ad Mon Sep 17 00:00:00 2001 From: James Hush Date: Tue, 20 Aug 2024 13:04:54 +0800 Subject: [PATCH] github: remove *requirements.txt from tests.yaml --- .github/workflows/tests.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9f0589ce6..7e979b273 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -25,14 +25,7 @@ jobs: id: setup_python uses: actions/setup-python@v4 with: - 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 + python-version: "3.10" - name: Install system packages run: sudo apt-get install -y portaudio19-dev - name: Setup virtual environment @@ -42,7 +35,7 @@ jobs: run: | source .venv/bin/activate 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 run: | source .venv/bin/activate