diff --git a/demo/scenarios/test.sh b/demo/scenarios/test.sh index be573284..c9a4bc3c 100644 --- a/demo/scenarios/test.sh +++ b/demo/scenarios/test.sh @@ -1,18 +1,19 @@ #!/usr/bin/env bash +CURR_FOLDER="./demo/scenarios" # Remove everything from temp stores to avoid outdated data. -rm -r ./store/models -mkdir -p ./store/models +rm -r ${CURR_FOLDER}/store/models +mkdir -p ${CURR_FOLDER}/store/models -poetry run pytest --nbmake ./demo/scenarios/1_requirements.ipynb -poetry run pytest --nbmake ./demo/scenarios/2_evidence.ipynb -poetry run pytest --nbmake ./demo/scenarios/2a_evidence_fairness.ipynb -poetry run pytest --nbmake ./demo/scenarios/2b_evidence_robustness.ipynb -poetry run pytest --nbmake ./demo/scenarios/2c_evidence_performance.ipynb -poetry run pytest --nbmake ./demo/scenarios/2d_evidence_interpretability.ipynb -poetry run pytest --nbmake ./demo/scenarios/2e_evidence_accuracy.ipynb -poetry run pytest --nbmake ./demo/scenarios/2f_evidence_interoperability.ipynb -poetry run pytest --nbmake ./demo/scenarios/2g_evidence_resilience.ipynb -poetry run pytest --nbmake ./demo/scenarios/2h_evidence_monitorability.ipynb -poetry run pytest --nbmake ./demo/scenarios/2i_evidence_performance_time.ipynb -poetry run pytest --nbmake ./demo/scenarios/3_report.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/1_requirements.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2_evidence.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2a_evidence_fairness.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2b_evidence_robustness.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2c_evidence_performance.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2d_evidence_interpretability.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2e_evidence_accuracy.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2f_evidence_interoperability.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2g_evidence_resilience.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2h_evidence_monitorability.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/2i_evidence_performance_time.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/3_report.ipynb diff --git a/demo/simple/test.sh b/demo/simple/test.sh index 15a19e40..9195d77a 100644 --- a/demo/simple/test.sh +++ b/demo/simple/test.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash +CURR_FOLDER="./demo/simple" # Remove everything from temp stores to avoid outdated data. -rm -r ./store/models -mkdir -p ./store/models +rm -r ${CURR_FOLDER}/store/models +mkdir -p ${CURR_FOLDER}/store/models -poetry run pytest --nbmake ./demo/simple/negotiation.ipynb -poetry run pytest --nbmake ./demo/simple/requirements.ipynb -poetry run pytest --nbmake ./demo/simple/evidence.ipynb -poetry run pytest --nbmake ./demo/simple/report.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/negotiation.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/requirements.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/evidence.ipynb +poetry run pytest --nbmake ${CURR_FOLDER}/report.ipynb