docs: improve testing docs (#133)

This commit is contained in:
Louise Poole
2025-01-16 15:49:46 +02:00
committed by GitHub
parent 98c63c685f
commit ffd6da916a
6 changed files with 36 additions and 18 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# To run: ./setup_env.sh
command_exists() {
command -v "$1" >/dev/null 2>&1
@@ -45,4 +46,5 @@ echo "Installing the requirements from ${REQUIREMENTS_FILE}..."
pip install -r $REQUIREMENTS_FILE --index-url https://pypi.org/simple
conda activate $ENV_NAME
echo "Setup complete."
echo "Setup complete."
echo "Run 'conda activate $ENV_NAME' to activate the environment."