Skip to content

Commit

Permalink
Remove desupported versions from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Aug 26, 2023
1 parent e29ca9a commit a2f5185
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,21 @@ jobs:
fail-fast: false
matrix:
include:
- {python: "2.7", postgres: "9.3"}
- {python: "3.5", postgres: "9.6"}
- {python: "3.6", postgres: "10"}
# - {python: "2.7", postgres: "9.3"}
# - {python: "3.5", postgres: "9.6"}
# - {python: "3.6", postgres: "10"}
- {python: "3.7", postgres: "11"}
- {python: "3.8", postgres: "12"}
- {python: "3.9", postgres: "13"}
- {python: "3.10", postgres: "14"}
- {python: "3.11", postgres: "15"}

# Opposite extremes of the supported Py/PG range, other architecture
- {python: "2.7", postgres: "15", architecture: "x86"}
- {python: "3.5", postgres: "14", architecture: "x86"}
- {python: "3.6", postgres: "13", architecture: "x86"}
- {python: "3.7", postgres: "12", architecture: "x86"}
- {python: "3.8", postgres: "11", architecture: "x86"}
- {python: "3.9", postgres: "10", architecture: "x86"}
- {python: "3.10", postgres: "9.6", architecture: "x86"}
- {python: "3.11", postgres: "9.3", architecture: "x86"}
- {python: "3.7", postgres: "15", architecture: "x86"}
- {python: "3.8", postgres: "14", architecture: "x86"}
- {python: "3.9", postgres: "13", architecture: "x86"}
- {python: "3.10", postgres: "12", architecture: "x86"}
- {python: "3.11", postgres: "11", architecture: "x86"}

env:
PYGRESQL_DB: test
Expand Down
3 changes: 2 additions & 1 deletion tests/test_classic_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,8 @@ def testInserttableWithHugeListOfColumnNames(self):
def testInserttableWithOutOfRangeData(self):
# try inserting data out of range for the column type
# Should raise a value error because of smallint out of range
self.assertRaises(ValueError, self.c.inserttable, 'test', [[33000]], ['i2'])
self.assertRaises(
ValueError, self.c.inserttable, 'test', [[33000]], ['i2'])

def testInserttableMaxValues(self):
data = [(2 ** 15 - 1, int(2 ** 31 - 1), long(2 ** 31 - 1),
Expand Down

0 comments on commit a2f5185

Please sign in to comment.