Skip to content

Commit 7be9aa9

Browse files
committed
update test workflow
1 parent eb5f23c commit 7be9aa9

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,17 @@ jobs:
3131
- celery-version: ">=5.3,<5.4"
3232
python-version: "3.12"
3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
- name: Set up Python ${{ matrix.python-version }}
36-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
39-
- name: Install Poetry
40-
uses: Gr1N/setup-poetry@v8
41-
- uses: actions/cache@v3
39+
- uses: astral-sh/setup-uv@v3
4240
with:
43-
path: ~/.cache/pypoetry/virtualenvs
44-
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
45-
- name: Checks
46-
run: |
47-
poetry --version
48-
poetry check --no-interaction
41+
enable-cache: true
4942
- name: Install project
5043
run: |
51-
poetry install --no-interaction
52-
pip install celery"${{ matrix.celery-version }}"
44+
uv sync --frozen
45+
uv pip install celery"${{ matrix.celery-version }}"
5346
- name: Run tests
54-
run: poetry run pytest -v
47+
run: uv run --no-sync pytest -v

0 commit comments

Comments
 (0)