This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |