Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Added circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
koszti committed Jun 4, 2019
1 parent 928526b commit 4840337
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4840337

Please sign in to comment.