Skip to content

Commit

Permalink
commented all intg tests running test in config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeshmukh15 committed Aug 4, 2023
1 parent a0d8d67 commit 8b2bdcb
Showing 1 changed file with 1 addition and 235 deletions.
236 changes: 1 addition & 235 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing automatic fields'
name: 'Testing Automatic Fields'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
Expand All @@ -194,180 +194,6 @@ jobs:
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
all-fields-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing all fields'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_all_fields.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
bookmarks-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing bookmarks'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_bookmarks.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
static-bookmarks-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing static bookmarks'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_bookmarks_static.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
start-date-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing Start Date'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_start_date.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
pagination-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing pagination'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_pagination.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
bookmarks-cursor-test:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
- checkout
- add_ssh_keys
- run:
name: 'Setup virtual env'
command: |
python3 -m venv /usr/local/share/virtualenvs/tap-square
source /usr/local/share/virtualenvs/tap-square/bin/activate
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing bookmarks cursor'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_bookmarks_cursor.py
- slack/status:
channel: 'stitch-tap-tester-tests'
mentions: "${CIRCLE_USERNAME}"
fail_only: true
only_for_branches: master
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
workflows:
version: 2
commit:
Expand Down Expand Up @@ -418,42 +244,6 @@ workflows:
- tap-tester-user
requires:
- queue
- all-fields-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
- bookmarks-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
- static-bookmarks-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
- start-date-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
- pagination-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
- bookmarks-cursor-test:
context:
- circleci-user
- tap-tester-user
requires:
- queue
build_daily:
triggers:
- schedule:
Expand Down Expand Up @@ -487,27 +277,3 @@ workflows:
context:
- circleci-user
- tap-tester-user
- all-fields-test:
context:
- circleci-user
- tap-tester-user
- bookmarks-test:
context:
- circleci-user
- tap-tester-user
- static-bookmarks-test:
context:
- circleci-user
- tap-tester-user
- start-date-test:
context:
- circleci-user
- tap-tester-user
- pagination-test:
context:
- circleci-user
- tap-tester-user
- bookmarks-cursor-test:
context:
- circleci-user
- tap-tester-user

0 comments on commit 8b2bdcb

Please sign in to comment.