-
In your repository's top level, create the file
TESTS. Each line should be the local path to a.pyfile containing atest()function, like this:mission.py aircraft/wing/wing_spar.py -
(optional) create a
TESTCONFIGfile in the same folder. The following options are supported:pip installspecifies packages your repository requires,gpkit-modelsthe branch of gpkit-models you're working on, andskipsolversthe solvers that cannot solve your code. Format the file like this:pip install : pandas gpkit-models branch : 1682 skipsolvers : cvxopt
-
Test your repository locally by running
python -c "from gpkit.tests.from_paths import run; run()"(consider saving this line asruntests.shfor easy access) -
Submit a PR to add the name of your repository to the
EXTERNALTESTSfile ingpkit-models