From 0fe8bd7de0de4ace68161f192fa79601c9712875 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 23 Feb 2025 05:32:28 -0500 Subject: [PATCH] Add tests to build job --- .forgejo/workflows/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 5bb29ed..8ca489e 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -31,7 +31,7 @@ jobs: run: cargo clippy -- -D warnings build: - name: Build + name: Build (and test, for now) runs-on: docker steps: - name: Checkout @@ -54,3 +54,11 @@ jobs: run: | source venv/bin/activate maturin develop + - name: Run Python tests + run: | + source venv/bin/activate + pytest tests/*.py + - name: Run Rust tests + run: | + source venv/bin/activate + cargo test