Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1008 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 1008 Bytes

Test Status Coverage Status

Tests via command line

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 via command line

coverage run -m pytest
coverage report

Coveralls

  1. Create account on coveralls here
  2. Link it to the GitHub repo
  3. Add the repo's coveralls token to the Github repo (Settings/Secrets, name COVERALLS_REPO_TOKEN)
  4. Add yaml githubflow file
  5. Add badge to README