FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
f8c5fbce
Commit
f8c5fbce
authored
2 years ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
adding shell script for tests
parent
321e0edd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/integration/run_tests.sh
+27
-0
27 additions, 0 deletions
tests/integration/run_tests.sh
with
27 additions
and
0 deletions
tests/integration/run_tests.sh
0 → 100755
+
27
−
0
View file @
f8c5fbce
#note this script only works if run in the project docker image, or an environment with the necessary paths and
# software installed
source
/storage/app/miniconda3/bin/activate /storage/app/EWS_prod/envs/conda/py3EWS/
PACKAGES_DIR
=
"../../../"
# assumes run from the tests/integration dir
flagdir
=
$PACKAGES_DIR
/flagdir
epimodel
=
$PACKAGES_DIR
/epimodel
advisory
=
$PACKAGES_DIR
/advisory_builder
met_processing
=
$PACKAGES_DIR
/met_extractor_v2/met_data_extraction
met_processor
=
$PACKAGES_DIR
/environmental_suitability/environmental_suitability
plotting
=
$PACKAGES_DIR
/plotting/plotting
post_processing
=
$PACKAGES_DIR
/post_processing/ews_postprocessing
source_gen
=
$PACKAGES_DIR
/source_gen
coordinator
=
$CI_PROJECT_DIR
/coordinator
coordinator_tests
=
$CI_PROJECT_DIR
/tests
export
PYTHONPATH
=
$PYTHONPATH
:
$flagdir
:
$epimodel
:
$advisory
:
$met_processing
:
$met_processor
:
$plotting
:
$source_gen
:
$post_processing
:
$coordinator
:
$coordinator_tests
echo
$PYTHONPATH
python3
-m
unittest test_advisory.py
python3
-m
unittest test_deposition.py
python3
-m
unittest test_env_suit.py
python3
-m
unittest test_epi.py
python3
-m
unittest test_survey.py
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment