File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,24 +43,18 @@ jobs:
4343 uses : actions/setup-python@v5
4444 with :
4545 python-version : ' 3.13'
46- - name : Install Poetry
47- uses : snok/install-poetry@v1
46+ - name : Set up uv
47+ uses : astral-sh/setup-uv@v5
4848 with :
49- virtualenvs-create : true
50- virtualenvs-in-project : true
51- installer-parallel : true
52- - name : Cache Dependencies
53- uses : actions/cache@v4
54- id : poetry-cache
55- with :
56- path : .venv
57- key : poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
58- - name : Install Dependencies
59- if : steps.poetry-cache.outputs.cache-hit != 'true'
60- run : poetry install --no-interaction --no-root
49+ enable-cache : true
50+ - name : Create venv & install dependencies
51+ run : |
52+ uv venv
53+ uv pip sync uv.lock
6154 - name : Run Tests
6255 run : |
63- poetry run xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
56+ source .venv/bin/activate
57+ xvfb-run pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
6458 --base-url ${{ vars.BASE_URL }} \
6559 --splits ${{ github.event.inputs.parallelism || 2 }} \
6660 --group ${{ matrix.group }}
You can’t perform that action at this time.
0 commit comments