Skip to content

Commit

Permalink
support: remove python 3.6, postgresql 9 and mysql 5, add python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Panero committed May 18, 2022
1 parent 27647b6 commit d8e77f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,28 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
requirements-level: [min, pypi]
db-service: [postgresql9, postgresql11, mysql5, mysql8]
db-service: [postgresql11, mysql8]

exclude:
- python-version: 3.8
- python-version: 3.9
requirements-level: min

- db-service: postgresql11
python-version: 3.6
python-version: 3.7

- db-service: mysql8
python-version: 3.6
python-version: 3.7

include:
- db-service: postgresql9
DB: postgresql
POSTGRESQL_VERSION: POSTGRESQL_9_LATEST
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg2://invenio:invenio@localhost:5432/invenio"
EXTRAS: "all,postgresql"

- db-service: postgresql11
DB: postgresql
POSTGRESQL_VERSION: POSTGRESQL_11_LATEST
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg2://invenio:invenio@localhost:5432/invenio"
EXTRAS: "all,postgresql"

- db-service: mysql5
DB: mysql
MYSQL_VERSION: MYSQL_5_LATEST
SQLALCHEMY_DATABASE_URI: "mysql+pymysql://invenio:invenio@localhost:3306/invenio"
EXTRAS: "all,mysql"

- db-service: mysql8
DB: mysql
MYSQL_VERSION: MYSQL_8_LATEST
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Development Status :: 5 - Production/Stable',
],
Expand Down

0 comments on commit d8e77f2

Please sign in to comment.