Skip to content

Commit 7a39c34

Browse files
committed
update integration tests
1 parent b8eafbc commit 7a39c34

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

.github/workflows/integration_tests.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,20 @@ jobs:
1818
ports:
1919
- 6379:6379
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Set up Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: "3.11"
26-
- name: Install Poetry
27-
uses: Gr1N/setup-poetry@v8
28-
- uses: actions/cache@v3
26+
- uses: astral-sh/setup-uv@v3
2927
with:
30-
path: ~/.cache/pypoetry/virtualenvs
31-
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
32-
- name: Checks
33-
run: |
34-
poetry --version
35-
poetry check --no-interaction
28+
enable-cache: true
3629
- name: Install project
37-
run: poetry install --no-interaction
38-
- name: Run integration tests
39-
run: poetry run pytest integration_tests -vs
30+
run: |
31+
uv sync --frozen
32+
uv pip install celery"${{ matrix.celery-version }}"
33+
- name: Run tests
34+
run: uv run --no-sync pytest integration_tests -vs
4035
env:
4136
TASKBADGER_ORG: ${{ vars.TASKBADGER_ORG }}
4237
TASKBADGER_PROJECT: ${{ vars.TASKBADGER_PROJECT }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "taskbadger"
3-
version = "1.3.4"
3+
version = "1.3.5"
44
description = "The official Python SDK for Task Badger"
55
requires-python = ">=3.9"
66
authors = []

0 commit comments

Comments
 (0)