From 73c6d53e1924e4383568c89170614addc6c6a577 Mon Sep 17 00:00:00 2001 From: marksverdhei Date: Thu, 25 Jun 2026 22:25:11 +0200 Subject: [PATCH] ci: add tests workflow (bash test_cf.sh + pytest) Runs the existing 39-test bash suite (test_cf.sh) and the 13 pytest unit tests in tests/ on push to main and PRs. Both already pass; this just guards against regressions. No deps beyond pytest (textual is stubbed in the tests). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..a5ae546 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: tests + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install pytest + run: pip install pytest + - name: Bash test suite (test_cf.sh) + run: bash test_cf.sh + - name: Python tests + run: pytest tests/ -v