From 4840337bcefdad9d03547a481aea861a4ba05701 Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Tue, 4 Jun 2019 14:21:57 +0100 Subject: [PATCH 1/3] Added circleci --- .circleci/config.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..c7c6e345 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,57 @@ +version: 2 +jobs: + # Install PipelineWise components: + # Singer components + # FastSync components + # Command Line Interface + build: + docker: + - image: circleci/python:3.6.2 + steps: + - checkout + - run: ./install.sh + + + # For documentation deployment. You'll need the following environment vars + # in your Circle CI settings, otherwise this will not work. + # + # GH_NAME (your git username) + # GH_EMAIL (your git email) + # GH_TOKEN (the personal Git token with pushes enabled) + deploy-doc: + docker: + - image: circleci/python:3.6.2 + working_directory: ~/gh_doc_automation + steps: + - checkout + + # target-snowflake + - run: + name: install dependencies + command: | + python3 -m venv venv + . venv/bin/activate + pip install --upgrade pip + pip install . + pip install pylint + pylint target_snowflake -d C,W,unexpected-keyword-arg,duplicate-code + + - run: + name: 'Unit Tests' + command: | + . venv/bin/activate + pip install nose + nosetests --where=tests/unit + + - run: + name: 'Integration Tests' + command: | + . venv/bin/activate + pip install nose + nosetests --where=tests/integration/ + +workflows: + version: 2 + build: + jobs: + - build From 807d38a3faec5916d482f105de7693ac3a940d92 Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Tue, 4 Jun 2019 14:23:38 +0100 Subject: [PATCH 2/3] Added circleci --- .circleci/config.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c7c6e345..51202818 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,9 +1,5 @@ version: 2 jobs: - # Install PipelineWise components: - # Singer components - # FastSync components - # Command Line Interface build: docker: - image: circleci/python:3.6.2 @@ -11,21 +7,6 @@ jobs: - checkout - run: ./install.sh - - # For documentation deployment. You'll need the following environment vars - # in your Circle CI settings, otherwise this will not work. - # - # GH_NAME (your git username) - # GH_EMAIL (your git email) - # GH_TOKEN (the personal Git token with pushes enabled) - deploy-doc: - docker: - - image: circleci/python:3.6.2 - working_directory: ~/gh_doc_automation - steps: - - checkout - - # target-snowflake - run: name: install dependencies command: | From efac1ba8cba23817191db1b33db65da15f58d41f Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Tue, 4 Jun 2019 14:48:41 +0100 Subject: [PATCH 3/3] Added circleci --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 51202818..6c4c9e8d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,6 @@ jobs: - image: circleci/python:3.6.2 steps: - checkout - - run: ./install.sh - run: name: install dependencies