From 679ea9561f2e91f50c78bdc4474b116f00dd09f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Tue, 31 Oct 2023 21:44:58 +0100 Subject: [PATCH] Add postgresql 16 to tests, drop postgresql 11 --- .github/workflows/tests.yml | 50 ++++++++++++++++++------------------- newsfragments/836.misc.rst | 1 + 2 files changed, 26 insertions(+), 25 deletions(-) create mode 100644 newsfragments/836.misc.rst diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a69dabaf..b3aca85e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,81 +7,81 @@ on: branches: [ main ] jobs: + postgresql_16: + uses: ./.github/workflows/single-postgres.yml + with: + postgresql: 16 postgresql_15: + needs: [postgresql_16] uses: ./.github/workflows/single-postgres.yml with: postgresql: 15 + python-versions: '["3.9", "3.10", "3.11", "3.12"]' postgresql_14: needs: [postgresql_15] uses: ./.github/workflows/single-postgres.yml with: postgresql: 14 - python-versions: '["3.9", "3.10", "3.11", "3.12"]' + python-versions: '["3.10", "3.11", "3.12"]' postgresql_13: needs: [postgresql_14] uses: ./.github/workflows/single-postgres.yml with: postgresql: 13 - python-versions: '["3.10", "3.11", "3.12"]' + python-versions: '["3.12"]' postgresql_12: needs: [postgresql_13] uses: ./.github/workflows/single-postgres.yml with: postgresql: 12 - python-versions: '["3.10", "3.11", "3.12"]' - postgresql_11: - needs: [postgresql_12] + python-versions: '["3.12"]' + macos_postgres_16: + needs: [postgresql_16] uses: ./.github/workflows/single-postgres.yml with: - postgresql: 11 - python-versions: '["3.11", "3.12"]' + postgresql: 16 + os: macos-latest + python-versions: '["3.9", "3.10", "3.11", "3.12"]' macos_postgres_15: - needs: [postgresql_15] + needs: [postgresql_15, macos_postgres_16] uses: ./.github/workflows/single-postgres.yml with: postgresql: 15 os: macos-latest - python-versions: '["3.9", "3.10", "3.11", "3.12"]' + python-versions: '["3.10", "3.11", "3.12"]' macos_postgres_14: needs: [postgresql_14, macos_postgres_15] uses: ./.github/workflows/single-postgres.yml with: postgresql: 14 os: macos-latest - python-versions: '["3.10", "3.11", "3.12"]' - macos_postgres_13: - needs: [postgresql_13, macos_postgres_14] - uses: ./.github/workflows/single-postgres.yml - with: - postgresql: 13 - os: macos-latest python-versions: '["3.11", "3.12"]' + docker_postgresql_16: + needs: [postgresql_16] + uses: ./.github/workflows/dockerised-postgres.yml + with: + postgresql: 16 docker_postgresql_15: - needs: [postgresql_15] + needs: [postgresql_15, docker_postgresql_16] uses: ./.github/workflows/dockerised-postgres.yml with: postgresql: 15 + python-versions: '["3.9", "3.10", "3.11", "3.12"]' docker_postgresql_14: needs: [postgresql_14, docker_postgresql_15] uses: ./.github/workflows/dockerised-postgres.yml with: postgresql: 14 - python-versions: '["3.9", "3.10", "3.11", "3.12"]' + python-versions: '["3.10", "3.11", "3.12"]' docker_postgresql_13: needs: [postgresql_13, docker_postgresql_14] uses: ./.github/workflows/dockerised-postgres.yml with: postgresql: 13 - python-versions: '["3.10", "3.11", "3.12"]' + python-versions: '["3.11", "3.12"]' docker_postgresql_12: needs: [postgresql_12, docker_postgresql_13] uses: ./.github/workflows/dockerised-postgres.yml with: postgresql: 12 - python-versions: '["3.11", "3.12"]' - docker_postgresql_11: - needs: [postgresql_11, docker_postgresql_12] - uses: ./.github/workflows/dockerised-postgres.yml - with: - postgresql: 11 python-versions: '["3.12"]' diff --git a/newsfragments/836.misc.rst b/newsfragments/836.misc.rst new file mode 100644 index 00000000..d131add7 --- /dev/null +++ b/newsfragments/836.misc.rst @@ -0,0 +1 @@ +CI Change - Add PostgreSQL 16, drop PostgreSQL 11