Skip to content

Commit

Permalink
Migrate CI to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
flofriday committed Dec 21, 2024
1 parent b606588 commit 5b56838
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,23 @@ name: CI
on: [push]

jobs:
# test:
# runs-on: Ubuntu-22.04
# steps:
# - name: Checkout code
# uses: actions/checkout@v4

# - name: Set up Python 3.13
# uses: actions/setup-python@v5
# with:
# python-version: "3.13"

# - name: Install dependencies
# run: python -m pip install -r requirements.txt

# - name: Test with pytest
# run: python -m pytest
test:
runs-on: Ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync

- name: Test with pytest
run: uv run pytest

deploy:
needs: test
Expand Down

0 comments on commit 5b56838

Please sign in to comment.