Skip to content

Commit 2bffcdb

Browse files
committed
try uv on github actions
1 parent 08e3a72 commit 2bffcdb

File tree

4 files changed

+560
-657
lines changed

4 files changed

+560
-657
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,15 @@ jobs:
2323
uses: actions/checkout@v4
2424
- uses: chartboost/ruff-action@v1
2525
continue-on-error: false
26-
- name: Install poetry
27-
run: pipx install poetry
28-
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v5
26+
- name: Install uv and set the python version
27+
uses: astral-sh/setup-uv@v5
3028
with:
3129
python-version: ${{ matrix.python-version }}
32-
allow-prereleases: true
33-
cache: 'poetry'
34-
- name: Install deps
35-
run: poetry install
30+
- name: Install the project
31+
run: uv sync --all-extras --dev
3632
- name: Run tests
3733
env:
3834
STREAM_BASE_URL: ${{ vars.STREAM_BASE_URL }}
3935
STREAM_API_KEY: ${{ vars.STREAM_API_KEY }}
4036
STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }}
41-
run: poetry run pytest tests/ getstream/
37+
run: uv run pytest tests/ getstream/

0 commit comments

Comments
 (0)