mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
CI: Update databases version to match more recent Debian
This commit is contained in:
parent
73f014e90e
commit
a0409a296a
1 changed files with 18 additions and 12 deletions
30
.github/workflows/unit-tests.yml
vendored
30
.github/workflows/unit-tests.yml
vendored
|
@ -11,10 +11,10 @@ jobs:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Use postgresql and MariaDB versions of Debian buster
|
# Use postgresql and MariaDB versions of Debian bookworm
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:11
|
image: postgres:15
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
env:
|
env:
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
options:
|
options:
|
||||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:10.3
|
image: mariadb:10.11
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: ihatemoney
|
MARIADB_ROOT_PASSWORD: ihatemoney
|
||||||
MARIADB_DATABASE: ihatemoney_ci
|
MARIADB_DATABASE: ihatemoney_ci
|
||||||
|
@ -39,24 +39,24 @@ jobs:
|
||||||
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
|
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
|
||||||
dependencies: [normal]
|
dependencies: [normal]
|
||||||
database: [sqlite]
|
database: [sqlite]
|
||||||
# Test other databases only with one version of Python (Debian buster has 3.7)
|
# Test other databases with only a few versions of Python (Debian bullseye has 3.9, bookworm has 3.11)
|
||||||
include:
|
include:
|
||||||
- python-version: 3.7
|
- python-version: 3.9
|
||||||
dependencies: normal
|
dependencies: normal
|
||||||
database: postgresql
|
database: postgresql
|
||||||
- python-version: 3.7
|
- python-version: 3.9
|
||||||
|
dependencies: normal
|
||||||
|
database: mariadb
|
||||||
|
- python-version: 3.11
|
||||||
|
dependencies: normal
|
||||||
|
database: postgresql
|
||||||
|
- python-version: 3.11
|
||||||
dependencies: normal
|
dependencies: normal
|
||||||
database: mariadb
|
database: mariadb
|
||||||
# Try a few variants with the minimal versions supported
|
# Try a few variants with the minimal versions supported
|
||||||
- python-version: 3.7
|
- python-version: 3.7
|
||||||
dependencies: minimal
|
dependencies: minimal
|
||||||
database: sqlite
|
database: sqlite
|
||||||
- python-version: 3.7
|
|
||||||
dependencies: minimal
|
|
||||||
database: postgresql
|
|
||||||
- python-version: 3.7
|
|
||||||
dependencies: minimal
|
|
||||||
database: mariadb
|
|
||||||
- python-version: 3.9
|
- python-version: 3.9
|
||||||
dependencies: minimal
|
dependencies: minimal
|
||||||
database: sqlite
|
database: sqlite
|
||||||
|
@ -66,6 +66,12 @@ jobs:
|
||||||
- python-version: "3.11"
|
- python-version: "3.11"
|
||||||
dependencies: minimal
|
dependencies: minimal
|
||||||
database: sqlite
|
database: sqlite
|
||||||
|
- python-version: "3.11"
|
||||||
|
dependencies: minimal
|
||||||
|
database: postgresql
|
||||||
|
- python-version: "3.11"
|
||||||
|
dependencies: minimal
|
||||||
|
database: mariadb
|
||||||
- python-version: "3.12"
|
- python-version: "3.12"
|
||||||
dependencies: minimal
|
dependencies: minimal
|
||||||
database: sqlite
|
database: sqlite
|
||||||
|
|
Loading…
Reference in a new issue