From c71e404f6378abe1e0624014442ab3e72942f252 Mon Sep 17 00:00:00 2001 From: Soxoj Date: Tue, 18 May 2021 00:49:13 +0300 Subject: [PATCH] Added test dependencies --- .github/workflows/python-package.yml | 2 +- test-requirements.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 test-requirements.txt diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 852b1d18..465141bf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest pytest-rerunfailures + python -m pip install -r test-requirements.txt if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..6de052aa --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,6 @@ +flake8==3.8.4 +pytest==6.2.4 +pytest-asyncio==0.14.0 +pytest-cov==2.10.1 +pytest-httpserver==1.0.0 +pytest-rerunfailures==9.1.1