From e3cb6bc96a33cd313691e2a3f69d23353ebf98d3 Mon Sep 17 00:00:00 2001 From: AlexanderOnischenko <74920855+AlexanderOnischenko@users.noreply.github.com> Date: Fri, 23 Jan 2026 17:23:35 +0300 Subject: [PATCH] Add pytest workflow for pull requests --- .github/workflows/pytest.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pytest.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 00000000..33ae56d6 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,24 @@ +name: pytest + +on: + pull_request: + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install dependencies + run: python -m pip install --upgrade pip && python -m pip install -e ".[dev]" + + - name: Run pytest (not slow, not known_bad) + env: + PYTHONPATH: .:src + run: python -m pytest -q -m "not slow and not known_bad"