aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorasaf-erlich <aerlich@talend.com>2021-03-02 12:58:22 -0800
committerGitHub <noreply@github.com>2021-03-02 12:58:22 -0800
commitdf8469166213671b2cf6ac2c9b0d36b17576af82 (patch)
treeea3c75073f65331141d36428f9534f6695e52fbe /.circleci/config.yml
parent7f117db04ea9505e3856494064ac5a2a3e4e906d (diff)
downloadtap-google-sheets-df8469166213671b2cf6ac2c9b0d36b17576af82.tar.gz
tap-google-sheets-df8469166213671b2cf6ac2c9b0d36b17576af82.tar.zst
tap-google-sheets-df8469166213671b2cf6ac2c9b0d36b17576af82.zip
Move tests from tap tester (#29)
* Moved tests over from tap-tester * Remove test configuration from gitignore * Move config into the test itself, ran it to make sure it passes * Fix circle config to use local tests * Removing unit tests, it doesn't run any
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml20
1 files changed, 7 insertions, 13 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 577428f..4a51c9f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,12 +17,6 @@ jobs:
17 pip install pylint 17 pip install pylint
18 pylint tap_google_sheets -d C,R,W 18 pylint tap_google_sheets -d C,R,W
19 - run: 19 - run:
20 name: 'Unit Tests'
21 command: |
22 source ~/.virtualenvs/tap-google-sheets/bin/activate
23 pip install nose
24 nosetests
25 - run:
26 name: 'JSON Validator' 20 name: 'JSON Validator'
27 command: | 21 command: |
28 source /usr/local/share/virtualenvs/tap-tester/bin/activate 22 source /usr/local/share/virtualenvs/tap-tester/bin/activate
@@ -34,13 +28,13 @@ jobs:
34 aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/sandbox dev_env.sh 28 aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/sandbox dev_env.sh
35 source dev_env.sh 29 source dev_env.sh
36 source /usr/local/share/virtualenvs/tap-tester/bin/activate 30 source /usr/local/share/virtualenvs/tap-tester/bin/activate
37 run-a-test --tap=tap-google-sheets \ 31 run-test --tap=tap-google-sheets \
38 --target=target-stitch \ 32 --target=target-stitch \
39 --orchestrator=stitch-orchestrator \ 33 --orchestrator=stitch-orchestrator \
40 --email=harrison+sandboxtest@stitchdata.com \ 34 --email=harrison+sandboxtest@stitchdata.com \
41 --password=$SANDBOX_PASSWORD \ 35 --password=$SANDBOX_PASSWORD \
42 --client-id=50 \ 36 --client-id=50 \
43 tap_tester.suites.google_sheets 37 tests/tap_combined_test.py
44 - slack/notify-on-failure: 38 - slack/notify-on-failure:
45 only_for_branches: master 39 only_for_branches: master
46 40