add a git action
This commit is contained in:
parent
aba1461a37
commit
c2f2e5a0a5
|
@ -0,0 +1,19 @@
|
||||||
|
name: tests
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
uv-example:
|
||||||
|
name: python
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install uv
|
||||||
|
uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
|
- name: Install the project
|
||||||
|
run: uv sync --all-extras --dev
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
# For example, using `pytest`
|
||||||
|
run: uv run pytest tests
|
Loading…
Reference in New Issue