Open
Description
When users add a script, it should work within a virtual environment with the requirements given by the user.
This means each folder will have a .py
python script and a requirements.txt
file.
We have two options:
- We can have the user create a test file and test via pytest.
- Pros: The testing with pytest is easy.
- Cons: The first part may be difficult for the user.
- We can create a bash script that runs the new script with
source run_script [path]
from the terminal. This has been implemented in the tests folder and in github actions.- Pros: This means the user does not need to provide anything other than the
.py
and.txt
files. For me this is very important. - Cons: It is more complicated to implement and because it is a bash script, it doesn't stop if there is a Python error. Could capture and parse the stdout and display a "Fail" message at the end of the script.
- Pros: This means the user does not need to provide anything other than the
Metadata
Metadata
Assignees
Labels
No labels