diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..dff3c0b9 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: '2.1' +orbs: + python: circleci/python@1.1.0 +jobs: + build: + executor: python/default + steps: + - checkout + - python/install-packages: + pkg-manager: pip + - python/install-packages: + pip-dependency-file: requirements.txt + pkg-manager: pip + - python/install-packages: + args: pytest + pkg-manager: pip + pypi-cache: false + - run: + command: | + pytest --version + name: Test +workflows: + main: + jobs: + - build + diff --git a/data/jokes.json b/data/jokes.json index f1e5c6fe..c2d9ce47 100644 --- a/data/jokes.json +++ b/data/jokes.json @@ -44,6 +44,7 @@ "What did the hot-dog say when he needed to use the bathroom?\nMust-Turd", "What kind of bagel can fly?\nA Plain Bagel.", "Where do animals go when their tails fall off?\nA retail store ;)", - "What was Forrest Gump's password?\n1Forrest1." + "What was Forrest Gump's password?\n1Forrest1.", + "Did you hear about the mathematician who's afraid of negative numbers?\nHe'll stop at nothing to avoid them." ] }