adding ci workflow

This commit is contained in:
Mic Neale
2024-08-24 17:01:35 +10:00
parent 1d0ab9777b
commit 78c13d2174
+24
View File
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Source Cargo Environment
run: source $HOME/.cargo/env
- name: Run tests
run: |
uv run pytest tests -m 'not integration'