Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

ci: run pytest via uv run to fix venv PATH breakage (#9286)

Lincoln Steinec0b1e7e7e7f
diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml
index f5ba6dd316..67351c2b38 100644
--- a/.github/workflows/python-tests.yml
+++ b/.github/workflows/python-tests.yml
@@ -61,7 +61,6 @@ jobs:
timeout-minutes: 15 # expected run time: 2-6 min, depending on platform
env:
PIP_USE_PEP517: '1'
- UV_SYSTEM_PYTHON: 1
steps:
- name: checkout
@@ -93,12 +92,6 @@ jobs:
enable-cache: true
python-version: ${{ matrix.python-version }}
- - name: setup python
- if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}
- uses: actions/setup-python@v6
- with:
- python-version: ${{ matrix.python-version }}
-
- name: install dependencies
if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}
env:
@@ -107,4 +100,4 @@ jobs:
- name: run pytest
if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}
- run: pytest
+ run: uv run --no-sync pytest