From 2287b4504b6291871b32af510b6eccf3c0b3305f Mon Sep 17 00:00:00 2001 From: "Timur M. Carstensen" Date: Mon, 25 Nov 2024 14:20:39 +0100 Subject: [PATCH] ci(test.yaml): re-ordering steps when installing and testing --- .github/workflows/tests.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 932f85aa..d35f13cc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -29,10 +29,10 @@ jobs: uses: astral-sh/setup-uv@v3 with: version: latest - - name: create venv - run: uv venv --python ${{ matrix.python-version }} - - name: Install - run: uv pip install ".[dev]" - - name: Run tests - run: .venv/bin/python -m pytest -m "" # Run all markers - + - name: run tests + run: | + uv venv --python ${{ matrix.python-version }} + source .venv/bin/activate + uv pip install -e ".[dev]" + uv run pytest -m "" # Run all markers +