mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-09-04 15:10:06 +02:00
* 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`
8 lines
196 B
Bash
Executable File
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
|