Merge pull request #5 from square/add_ci

adding in ci for protection
This commit is contained in:
Michael Neale
2024-08-24 17:05:05 +10:00
committed by GitHub

22
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: CI
on:
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'