Skip to content

Commit 106bc39

Browse files
committed
Update actions workflows for postgresql tests
1 parent 79118b6 commit 106bc39

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/test-postgres.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
test:
66
services:
77
postgres:
8-
image: postgres:12
8+
image: postgres:13
99
env:
1010
POSTGRES_USER: user
1111
POSTGRES_PASSWORD: password
@@ -22,24 +22,22 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- "3.8"
2625
- "3.9"
2726
- "3.10"
2827
- "3.11"
2928
- "3.12"
29+
- "3.13"
3030
django-version:
31-
- "3.2"
3231
- "4.2"
3332
- "5.0"
33+
- "5.1"
3434
drf-version:
35-
- "3.14"
35+
- "3.15"
3636
exclude:
37-
- python-version: "3.8"
38-
django-version: "5.0"
3937
- python-version: "3.9"
4038
django-version: "5.0"
41-
- drf-version: "3.14"
42-
python-version: "3.8"
39+
- python-version: "3.9"
40+
django-version: "5.1"
4341

4442
steps:
4543
- uses: actions/checkout@v4
@@ -52,7 +50,7 @@ jobs:
5250
- name: Install dependencies
5351
run: |
5452
python -m pip install --upgrade pip
55-
python -m pip install psycopg2-binary setuptools
53+
python -m pip install psycopg[binary] setuptools
5654
5755
- name: Install Django version
5856
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
coverage xml
8181
8282
- name: Upload coverage to Codecov
83-
uses: codecov/codecov-action@v1
83+
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)