Skip to content

Commit

Permalink
Merge pull request #35 from M1ha-Shvn/upgrade-ci-versions
Browse files Browse the repository at this point in the history
Corrected GitHub Actions versions
  • Loading branch information
M1ha-Shvn authored Sep 19, 2024
2 parents 3b57cb7 + 357f1c0 commit 3cbea23
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,39 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
postgres-version: ["9.6", "11", "12", "13", "14", "15"]
django-version: ["2.2", "3.0", "3.1", "3.2", "4.0", "4.1", "4.2"]
django-version: ["3.1", "3.2", "4.0", "4.1", "4.2", "5.0"]
exclude:
# Django 4.0+ doesn't support Python 3.7
- django-version: "4.0"
python-version: "3.7"
- django-version: "4.1"
python-version: "3.7"
- django-version: "4.2"
python-version: "3.7"

# Django 4.0+ doesn't support PostgreSQL 9.6
- django-version: "4.0"
postgres-version: "9.6"
- django-version: "4.1"
postgres-version: "9.6"
- django-version: "4.2"
postgres-version: "9.6"
- django-version: "5.0"
postgres-version: "9.6"

# Django 4.1+ doesn't support PostgreSQL 10
- django-version: "4.1"
postgres-version: "10"
- django-version: "4.2"
postgres-version: "10"
- django-version: "5.0"
postgres-version: "10"

# Django 4.2+ doesn't support PostgreSQL 11
- django-version: "4.2"
postgres-version: "11"
- django-version: "5.0"
postgres-version: "11"

# Django 5.0+ does not support python 3.8, 3.9
- django-version: "5.0"
python-version: "3.8"
- django-version: "5.0"
python-version: "3.9"

services:
postgres:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ A small library implementing PostgreSQL ability to return rows in DML statements
[Link to PostgreSQL docs](https://www.postgresql.org/docs/10/static/sql-update.html)

## <a name="requirements">Requirements</a>
* Python Python 3.6+
* Python Python 3.8+
Previous versions may also work, but are not tested with CI
* django >= 1.8
* django >= 3.1
Previous versions may also work, but are not tested with CI.
bulk_create_returning method doesn't support .only() and .defer() filters for django before 1.10.
* psycopg2 or psycopg2-binary
Expand Down

0 comments on commit 3cbea23

Please sign in to comment.