This commit is contained in:
19
.gitea/workflows/python.yml
Normal file
19
.gitea/workflows/python.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Test python action
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- name: Set up UV
|
||||||
|
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
|
||||||
|
- name: Install deps
|
||||||
|
run: uv sync --locked --all-extras --dev
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: uv run pytest test
|
||||||
Reference in New Issue
Block a user