mirror of
https://github.com/Dineshkarthik/telegram_media_downloader.git
synced 2025-01-03 04:32:01 +08:00
17 lines
No EOL
386 B
Makefile
17 lines
No EOL
386 B
Makefile
TEST_ARTIFACTS ?= /tmp/coverage
|
|
|
|
.PHONY: install deps
|
|
|
|
deps: install
|
|
pip install -r dev-requirements.txt
|
|
|
|
install:
|
|
pip install --upgrade pip setuptools
|
|
pip install -r requirements.txt
|
|
|
|
test: deps
|
|
py.test --cov media_downloader --doctest-modules \
|
|
--cov-report term-missing \
|
|
--cov-report html:${TEST_ARTIFACTS} \
|
|
--junit-xml=${TEST_ARTIFACTS}/media-downloader.xml \
|
|
tests/
|