Skip to content

Commit

Permalink
Update actions workflows for postgresql tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nezhar committed Nov 5, 2024
1 parent 79118b6 commit 106bc39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test:
services:
postgres:
image: postgres:12
image: postgres:13
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
Expand All @@ -22,24 +22,22 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
django-version:
- "3.2"
- "4.2"
- "5.0"
- "5.1"
drf-version:
- "3.14"
- "3.15"
exclude:
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- drf-version: "3.14"
python-version: "3.8"
- python-version: "3.9"
django-version: "5.1"

steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +50,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install psycopg2-binary setuptools
python -m pip install psycopg[binary] setuptools
- name: Install Django version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4

0 comments on commit 106bc39

Please sign in to comment.