mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 03:15:05 +08:00
add ci and one test case
This commit is contained in:
6
Makefile
6
Makefile
@@ -83,3 +83,9 @@ universal:
|
||||
release:
|
||||
git tag $(shell git rev-parse --short HEAD)
|
||||
git push --tags
|
||||
|
||||
ci-test:
|
||||
docker run --rm bennythink/yyetsbot /bin/sh -c "cd /YYeTsBot/yyetsweb/tests;python -m unittest discover -p '*_test.py'"
|
||||
|
||||
test:
|
||||
cd $(WEB)/tests;python -m unittest discover -p '*_test.py'
|
||||
|
||||
Reference in New Issue
Block a user