Repository: UCBerkeleySETI/blimpy (language: python)

Issue:
Inadvertently, testing is using the previous release
Blimpy testing needs setigen for regression testing.
Setigen needs blimpy to save data in Filterbank or HDF5 files.

So, when the blimpy dependency of setigen is installed and blimpy is not yet installed, testing proceeds with the previous release level from pypi.

Solution: 
Take ```setigen``` out of ```requirements.txt``` and put it and all the other test requirements in ```requirements_test.txt``` (new file).

Impacted files: 
* .github/workflows/python_tests.yml
* Dockerfile


Discussion / hints:

Fix patch:
diff --git a/Dockerfile b/Dockerfile
index c66e45c..e444b27 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,9 +10,9 @@ RUN cat dependencies.txt | xargs -n 1 apt install --no-install-recommends -y
 
 RUN cd tests && bash download_data.sh && cd ..
 
-RUN python3 -m pip install -r requirements.txt
-RUN python3 -m pip install pytest pyslalib
-RUN python3 setup.py install
+RUN python3 -m pip install --user -r requirements.txt
+RUN python3 setup.py install --user
+RUN python3 -m pip install --user -r requirements_test.txt
 RUN python3 setup.py test
 
 RUN rm -fr tests/test_data
diff --git a/VERSION-HISTORY.md b/VERSION-HISTORY.md
index 21d21f1..e210c0e 100644
--- a/VERSION-HISTORY.md
+++ b/VERSION-HISTORY.md
@@ -3,6 +3,7 @@ This file is a version history of blimpy amendments, beginning with version 2.0.
 <br>
 |    Date    | Version | Contents |
 | :--: | :--: | :-- |
+| 2021-08-17 | 2.0.26 | Implement requirements_test.txt (Issue #234).  |
 | 2021-08-16 | 2.0.25 | Try to remove HDF5 files that cannot be fully written due to an exception (Issue #232).  |
 | 2021-08-13 | 2.0.24 | Check the data B-tree in issue #226.  |
 | 2021-08-13 | 2.0.23 | A better fix to issue #226.  |
diff --git a/setup.py b/setup.py
index 34e212e..73288ed 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 """
 from setuptools import setup, find_packages
 
-__version__ = '2.0.25'
+__version__ = '2.0.26'
 
 with open("README.md", "r") as fh:
     long_description = fh.read()


Test patch:
diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml
index 32916e8..b153334 100644
--- a/.github/workflows/python_tests.yml
+++ b/.github/workflows/python_tests.yml
@@ -34,9 +34,10 @@ jobs:
           cat dependencies.txt | sudo xargs -n 1 apt install -y
       - name: Install dependencies
         run: |
-          python3 -m pip install --upgrade pip
-          python3 -m pip install -r requirements.txt
-          python3 -m pip install pytest pytest-cov pyslalib
+          python3 -m pip install --user --upgrade pip
+          python3 -m pip install --user -r requirements.txt
+          python3 setup.py install --user
+          python3 -m pip install --user -r requirements_test.txt
       - name: Download test files
         run: |
           cd tests
diff --git a/requirements_test.txt b/requirements_test.txt
new file mode 100644
index 0000000..3cde951
--- /dev/null
+++ b/requirements_test.txt
@@ -0,0 +1,9 @@
+codecov
+coverage
+pyslalib
+pytest
+pytest-cov
+pytest-order
+pytest-runner
+setigen
+