Repository: ExaWorks/psij-python (language: python)

Issue:
Deploy test on theta
Setup psij testing suite to run daily, either as cron job or via gitlab.


Discussion / hints:
Status: **Failing**

Steps:

1. loading python3.9
2. creating venv 
3. installing requirements.txt and requirements-tests.txt
4. ./psij-ci-run

ModuleNotFoundError: No module named 'requests'
Status: **Failing**

manually installed: python -m pip install requests
./psij-ci-run: 

./psij-ci-run
From https://github.com/ExaWorks/psi-j-python
 * branch            HEAD       -> FETCH_HEAD
Reading configuration... OK
Cloning repository... OK
Testing branch "main"... psij.venv/bin/python: No module named pytest
OK
Testing branch "combine-getting-started-quickstart-pages"... psij.venv/bin/python: No module named pytest
OK
Testing branch "wilke/logging"... psij.venv/bin/python: No module named pytest
OK
Testing branch "1.0.0-a0_release_branch"... FAILED
Did you follow the official instructions (README-testing.md)?

If you did, it would probably have told you to either run `psij-ci-setup`, which installs all needed dependencies, or to use `requirements-dev.txt` which does the same. Can you try that and submit an issue if *that* fails?
PS: `requests` is needed by Sphinx, which is listed in `requirements-docs.txt`, which is included from `requirements-dev.txt`.

It should probably be listed explicitly.

Fix patch:
diff --git a/requirements-dev.txt b/requirements-dev.txt
index f64a450f..088b8869 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -5,10 +5,9 @@
 -r requirements-connector-radical.txt
 
 # Testing / QA
+-r requirements-tests.txt
 mypy >=0.931
-pytest >= 6.2.0
 flake8
 flake8-docstrings
 autopep8
 types-requests
-


Test patch:
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 1226c027..f7d5316f 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -1,2 +1,7 @@
+# Things needed to run the tests
+
 -r requirements.txt
 -r requirements-connector-radical.txt
+
+pytest >= 6.2.0
+requests >= 2.25.1