forked from cisco-open/sqlalchemy-rdsiam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (44 loc) · 1.34 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 2022 Cisco Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[tox]
envlist =
py39-sa13,
py39-sa14,
py39-sa14asyncpgonly,
py39-sa14psycopg2only,
py39-sa20
[testenv]
commands = pytest -s {posargs}
passenv = PGPASSWORD
deps =
sa13: sqlalchemy==1.3.24
sa13: psycopg2-binary==2.9.7
sa13: asyncpg==0.28.0
sa14: sqlalchemy==1.4.49
sa14: psycopg2-binary==2.9.7
sa14: asyncpg==0.28.0
sa14asyncpgonly: sqlalchemy==1.4.49
sa14asyncpgonly: asyncpg==0.28.0
sa14psycopg2only: sqlalchemy==1.4.49
sa14psycopg2only: psycopg2-binary==2.9.7
sa20: sqlalchemy==2.0.20
sa20: psycopg2-binary==2.9.7
sa20: asyncpg==0.28.0
boto3==1.22.13
cryptography==37.0.2 # For unit tests
pytest==7.1.2
pytest-postgresql==4.1.1
psycopg # For pytest-postgresql
[pytest]
addopts = --ignore=setup.py