summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-08-29 11:45:18 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-08-29 11:45:18 +0300
commit76edddb059ddb5b4c797e7081b91636f7f96047f (patch)
treeb1e61a075050233f40459acc19d430a8396d4ff6
parentdaa90d4d51a1e1a9b95cab23af42d1aee4c26504 (diff)
downloadapscheduler-76edddb059ddb5b4c797e7081b91636f7f96047f.tar.gz
Added all necessary testing dependencies under the "test" extra
-rw-r--r--.github/workflows/codeqa-test.yml4
-rw-r--r--setup.cfg4
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/codeqa-test.yml b/.github/workflows/codeqa-test.yml
index 698bc9e..32d9007 100644
--- a/.github/workflows/codeqa-test.yml
+++ b/.github/workflows/codeqa-test.yml
@@ -43,7 +43,7 @@ jobs:
- name: Start external services
run: docker-compose up -d
- name: Install the project and its dependencies
- run: pip install -e .[test,cbor,postgresql,mongodb,sqlalchemy]
+ run: pip install -e .[test]
- name: Test with pytest
run: pytest
@@ -62,6 +62,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install the project and its dependencies
- run: pip install -e .[test,cbor]
+ run: pip install -e .[test]
- name: Test with pytest
run: pytest
diff --git a/setup.cfg b/setup.cfg
index d566b95..b3a5344 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -34,13 +34,17 @@ mongodb = pymongo >= 3.12
postgresql = asyncpg >= 0.20
sqlalchemy = sqlalchemy >= 1.4.22
test =
+ asyncpg >= 0.20
+ cbor2 >= 5.0
coverage
freezegun == 1.0.0
psycopg2
+ pymongo >= 3.12
pytest >= 5.0
pytest-cov
pytest-freezegun
pytest-mock
+ sqlalchemy >= 1.4.22
trio
doc =
sphinx