From 78c13d2174215c7042a3c713835843666d5e5d8a Mon Sep 17 00:00:00 2001 From: Mic Neale Date: Sat, 24 Aug 2024 17:01:35 +1000 Subject: [PATCH] adding ci workflow --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..b8a42fb543 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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' \ No newline at end of file