From 3601e4f3aa550a6570e2091666f2e84a7ae72539 Mon Sep 17 00:00:00 2001 From: angudadevops Date: Tue, 19 May 2020 15:33:19 -0700 Subject: [PATCH 1/2] Add .circleci/config.yml --- .circleci/config.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..0e10f9f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,22 @@ +version: 2.1 + +orbs: + python: circleci/python@0.2.1 + +jobs: + build-and-test: + executor: python/default + working_directory: ~/flask/app + steps: + - checkout + - python/load-cache + - python/install-deps + - python/save-cache + - run: + command: ./app.py + name: Test + +workflows: + main: + jobs: + - build-and-test From e1bafc0a9bde1e6652821c21736d578190074249 Mon Sep 17 00:00:00 2001 From: angudadevops Date: Tue, 19 May 2020 15:47:05 -0700 Subject: [PATCH 2/2] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e10f9f..fdb00f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,9 +4,9 @@ orbs: python: circleci/python@0.2.1 jobs: - build-and-test: + Python: executor: python/default - working_directory: ~/flask/app + working_directory: ~/flask/app/ steps: - checkout - python/load-cache @@ -14,9 +14,9 @@ jobs: - python/save-cache - run: command: ./app.py - name: Test + name: App workflows: main: jobs: - - build-and-test + - Python