From 9863dcd2013c7cc02e8bb0301e5f677186249425 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Sat, 31 Jan 2026 22:54:08 -0500 Subject: [PATCH] Add GitHub Actions test workflow --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..88c9053 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,30 @@ +name: tests + +on: + push: + pull_request: + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install -y p7zip-full transmission-cli + + - name: Install uv + run: python -m pip install --upgrade pip uv + + - name: Run tests + env: + HATE_CRACK_RUN_E2E: "0" + HATE_CRACK_RUN_DOCKER_TESTS: "0" + HATE_CRACK_RUN_LIVE_TESTS: "0" + run: uv run pytest -v