Package must be added to PYTHON_PATH beforehand For example, if in a conda environment,
ln -sf /home/elodief/Work/my_repos/tests_CI/my_module /home/elodief/Soft/anaconda3/envs/senda/lib/python3.8/site-packages
To run the test, run one of the following commands from the package root directory:
python3 test/test_examples.py
python -m unittest
nosetests
pytest
coverage run -m pytest
coverage report
- Create account on coveralls here
- Link it to the GitHub repo
- Add the repo's coveralls token to the Github repo (Settings/Secrets, name
COVERALLS_REPO_TOKEN
) - Add yaml githubflow file
- Add badge to README