-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Demo tests: removed curr folder duplication for more maintainability
- Loading branch information
1 parent
552682d
commit 8875517
Showing
2 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |