SetupΒΆ
To work on lsqfitgp
, clone the repository, create a virtual environment and
install the requirements:
$ git clone git@github.com:Gattocrucco/lsqfitgp.git
$ cd lsqfitgp
$ make resetenv
$ . pyenv/bin/activate
(pyenv) $
The Makefile
in the root directory contains targets to build the
documentation, run the tests, and prepare a release. Run make
without
arguments to show the available targets:
(pyenv) $ make
available targets: [...]
(pyenv) $ make tests # or make examples, or ...
The tests are run on each push and the resulting coverage report is published
online at gattocrucco.github.io/lsqfitgp/htmlcov. To browse it locally after
make tests
etc., do make covreport
and open htmlcov/index.html
in
your browser.