From 5874ec02737a68a57eb91415bf39df2484237b78 Mon Sep 17 00:00:00 2001 From: foospidy Date: Thu, 18 Apr 2019 23:12:37 -0400 Subject: [PATCH] update --- .circleci/config.yml | 7 ++++++- Makefile | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b52412e..80b8d0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,4 +27,9 @@ jobs: - ./.env key: v1-dependencies-{{ checksum "requirements.txt" }} - - run: make lint + - run: + name: Pylint + command: make lint + - run: + name: Tests + command: make tests diff --git a/Makefile b/Makefile index 2dd8a99..08e1b49 100644 --- a/Makefile +++ b/Makefile @@ -7,5 +7,10 @@ lint: . .env/bin/activate \ && pylint webcve.py +tests: + . .env/bin/activate && ./webcve.py --list group + . .env/bin/activate && ./webcve.py --list type + . .env/bin/activate && ./webcve.py -v --status-code 406 --url $(TEST_TARGET) + clean: rm -rf .env \ No newline at end of file