ci: add tests workflow

This commit is contained in:
Daylin Morgan 2024-10-22 11:57:33 -05:00
parent a47b8e7927
commit 5115f72db6
Signed by: daylin
GPG key ID: 950D13E9719334AD

30
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Run Tests
on:
push:
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync
- name: run tests
run: ./tasks.py tests