From e185ba297ba47b80228056b73064010c9ca6fe89 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Fri, 11 Feb 2022 12:53:19 +0100 Subject: [PATCH] Move testing requirements to separate file Created requirements-testing.txt --- .github/workflows/flask.yml | 2 +- requirements-testing.txt | 4 ++++ requirements.txt | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 requirements-testing.txt diff --git a/.github/workflows/flask.yml b/.github/workflows/flask.yml index d94c15d8..d96660df 100644 --- a/.github/workflows/flask.yml +++ b/.github/workflows/flask.yml @@ -50,7 +50,7 @@ jobs: pip install virtualenv virtualenv env source env/bin/activate - pip install flake8 pytest coverage + pip install -r requirements-testing.txt pip install -r requirements.txt - name: Prepare database diff --git a/requirements-testing.txt b/requirements-testing.txt new file mode 100644 index 00000000..a802865d --- /dev/null +++ b/requirements-testing.txt @@ -0,0 +1,4 @@ +coverage +flake8 +pytest==7.0.0 +requests-mock==1.5.2 diff --git a/requirements.txt b/requirements.txt index 6d6a9473..56070142 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,12 +20,10 @@ passlib==1.7.1 phonenumbers==8.9.11 psycopg2-binary==2.8.3 PyJWT==2.0.0a1 -pytest==7.0.0 python-dateutil==2.7.3 python-decouple==3.3 python-stdnum==1.9 PyYAML==5.4 -requests-mock==1.5.2 requests[security]==2.27.1 sortedcontainers==2.1.0 SQLAlchemy==1.2.17