diff --git a/.circleci/config.yml b/.circleci/config.yml index 879eb34..b7ae72e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: command: | python -m virtualenv env . env/bin/activate - pip install --no-cache-dir -r requirements.txt + pip install --no-cache-dir -r requirements-dev.txt # - run: # name: Run tests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1242188..8d6a957 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 run: | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e031b1..363500f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..3c42f0b --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,2 @@ +-r requirements.txt +pytest==6.2.4 diff --git a/requirements.txt b/requirements.txt index ffe8742..a8ed785 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ requests==2.26.0 -pytest==6.2.4 -typing==3.7.4.3 \ No newline at end of file