Skip to content

Commit

Permalink
Trying to fix gplibrary install issues...
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Sep 18, 2019
1 parent 87dd05e commit 96ba119
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion run_tests.py
@@ -1,5 +1,6 @@
"""Script for running all gpkit unit tests"""
from gpkit.tests.run_tests import run
from gpkit.tests.test_repo import git_clone, pip_install

def import_tests():
"""Get a list of all robust unit test TestCases"""
Expand Down Expand Up @@ -30,8 +31,12 @@ def import_tests():


def test():
try:
import gpkitmodels
except:
git_clone("gplibrary")
pip_install("gplibrary", local=True)
run(tests=import_tests())


if __name__ == '__main__':
test()

0 comments on commit 96ba119

Please sign in to comment.