From ab7fb55e3312e6397a6bb308d0131551d5edd782 Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sun, 14 Dec 2025 17:15:43 +0100 Subject: [PATCH 1/2] chore: add tests with different postgres versions --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 984597f..4248580 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,6 +36,7 @@ jobs: strategy: matrix: py_version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + postgres_version: [ "16", "17", "18" ] runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v5 @@ -45,6 +46,7 @@ jobs: username: taskiq_psqlpy password: look_in_vault database: taskiq_psqlpy + postgres-version: "${{ postgres-version }}" id: postgres - name: Set up uv and enable cache id: setup-uv From e59c998f04bad0f3f8655535e11c4145329b13ae Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sun, 14 Dec 2025 17:17:52 +0100 Subject: [PATCH 2/2] chore(ci): specify branch for tests --- .github/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4248580..7507701 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,9 +2,11 @@ name: Testing taskiq-psqlpy on: pull_request: + branches: [ main ] paths-ignore: - '*.md' push: + branches: [ main ] paths-ignore: - '*.md' @@ -46,7 +48,7 @@ jobs: username: taskiq_psqlpy password: look_in_vault database: taskiq_psqlpy - postgres-version: "${{ postgres-version }}" + postgres-version: "${{ matrix.postgres_version }}" id: postgres - name: Set up uv and enable cache id: setup-uv