From c0766eb2e2db79851f8927604735b9088b9f5857 Mon Sep 17 00:00:00 2001 From: h2so4nackl-code Date: Thu, 1 Oct 2026 12:48:07 +0200 Subject: [PATCH 1/2] ci: run pytest on push and pull request --- .github/workflows/tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..3caec2d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,19 @@ +name: Tests + +on: + push: + pull_request: + +permissions: + contents: read + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + - run: python -m pip install ".[dev]" + - run: pytest -q From cd2fa3d5f17e0ecd60d06088266b9ea50ad3f8be Mon Sep 17 00:00:00 2001 From: h2so4nackl-code Date: Thu, 1 Oct 2026 12:50:10 +0200 Subject: [PATCH 2/2] ci: use Python 3.11 for existing asyncio.timeout calls --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3caec2d..e855d19 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,6 +14,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - run: python -m pip install ".[dev]" - run: pytest -q