Skip to content

ElodieFZ/tests_CI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Test repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages