Skip to content

Commit

Permalink
Migrate to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanC committed Aug 25, 2024
1 parent 8f4cfd4 commit fd39519
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 332 deletions.
File renamed without changes.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

on:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Setup Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
run: |
uvx --from build pyproject-build --installer uv
uvx twine upload dist/*
37 changes: 0 additions & 37 deletions .github/workflows/ci.yml

This file was deleted.

Loading

0 comments on commit fd39519

Please sign in to comment.