diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45e3210..ceb57b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,10 +22,15 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Python dependencies - shell: bash -l {0} - run: | - python3 -m pip install --break-system-packages -r requirements.txt - python3 -m pip install --break-system-packages -e . --no-deps --force-reinstall + uses: getsentry/action-setup-venv@v2 + with: + python-version: ${{ matrix.python-version }} + system-site-packages: false + cache-dependency-path: | + requirements.txt + install-cmd: | + pip install -r requirements.txt + pip install -e . --no-deps --force-reinstall - name: Run tests run: |