-
Notifications
You must be signed in to change notification settings - Fork 0
Prepare your environment for development of simex_platform (python lib)
Carsten Fortmann-Grote edited this page Apr 13, 2018
·
4 revisions
While logged in on github, click the "Fork" button on the top right of eucall-software/simex_platform.
In your $HOME, do
$> git clone [email protected]:<your_github_username>/simex_platform
$> cd simex_platform
$> git checkout python3
$> module load simex
$> export PYTHONPATH=$HOME/simex_platform/Sources/python:$PYTHONPATH
$> python -c "import SimEx; print(SimEx.__file__)"
should return something like
/home/<your_user_name>/simex_platform/Sources/python/SimEx/__init__.py
Attention: The test suite takes ~20 minutes to complete. You can also run individual test suites or even individual test methods.
$> cd Tests/python/unittest
$> python Test.py -v 2>&1 | tee log
make changes, add new stuff, commit, push to your remote repo and make pull requests to eucall-software/simex_platform. Ideally, you would run the test suite before pushing anything and only push if the tests passed.