Files
anybadge/docker/test/run_docker_tests.sh
Jon Grace-Cox 1c986d4ad8 Add package testing to CI (#68)
* Make `build_examples.py` callable from python
* Allow tests to run from outside project directory
* Add invoke tasks
* Add server tests
* Run travis tests against wheel package instead of local code
* Update `badge.write_badge()` to support `pathlib.Path`
* Update `CONTRIBUTING.md`
2022-08-13 13:22:15 -04:00

8 lines
196 B
Bash
Executable File

#!/bin/bash
echo "Running tests..."
mkdir tmp && cd tmp
mkdir tests
pip install /app/dist/anybadge*.whl
pytest --doctest-modules --cov=anybadge --cov-report html:htmlcov /app/anybadge /app/tests