Skip to content

Add UV demo

Add UV demo #4

Workflow file for this run

name: On Push Workflow
on:
push:
jobs:
check-uv:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install UV
run: |
pipx install uv
- name: Check UV
run: ./bin/check-uv.sh
build:
runs-on: ubuntu-latest
needs: check-uv
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install UV
run: |
pipx install uv
- name: Run tests
run: |
uv run pytest tests