From 605da4cc05515eb95c24cfaac235c2097ebbd4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20Pfl=C3=BCger?= Date: Mon, 21 Oct 2024 19:05:11 +0200 Subject: [PATCH] ci: test with uv run instead of activating venv --- .github/workflows/ci-upstream-dev.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-upstream-dev.yml b/.github/workflows/ci-upstream-dev.yml index 490fb92..97891cf 100644 --- a/.github/workflows/ci-upstream-dev.yml +++ b/.github/workflows/ci-upstream-dev.yml @@ -34,14 +34,6 @@ jobs: run: | uv pip install --resolution highest --prerelease allow .[test,upstream-dev] - - name: Test with pytest (linux) - if: startsWith(matrix.os, 'ubuntu') + - name: Test with pytest run: | - source .venv/bin/activate - pytest --xdoc - - - name: Test with pytest (windows) - if: startsWith(matrix.os, 'windows') - run: | - .venv\Scripts\activate - pytest --xdoc + uv run pytest --xdoc