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 c22d88e
Showing 1 changed file with 17 additions and 196 deletions.
213 changes: 17 additions & 196 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
failure_message: |
:face_vomiting: ${CIRCLE_JOB} failed!
automatic-fields-test:
non-parallizable-tests:
docker:
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester
steps:
Expand All @@ -179,181 +179,62 @@ jobs:
pip install -U 'pip<19.2' 'setuptools<51.0.0'
pip install .[dev]
- run:
name: 'Testing automatic fields'
when: always
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
source /usr/local/share/virtualenvs/tap-tester/bin/activate
pip install 'squareup==5.3.0.20200528'
run-test --tap=tap-square tests/test_automatic_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!
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'
when: always
name: 'Testing Schema and 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'
when: always
name: 'Testing Bookmarks for Dynamic Data Streams'
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'
when: always
name: 'Testing Bookmarks for Static Data Streams'
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:
when: always
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'
when: always
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'
when: always
name: 'Testing Cursor Bookmark'
command: |
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
Expand Down Expand Up @@ -412,43 +293,7 @@ workflows:
- tap-tester-user
requires:
- queue
- automatic-fields-test:
context:
- circleci-user
- 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:
- non-parallizable-tests:
context:
- circleci-user
- tap-tester-user
Expand Down Expand Up @@ -483,31 +328,7 @@ workflows:
context:
- circleci-user
- tap-tester-user
- automatic-fields-test:
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:
- non-parallizable-tests:
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
- tap-tester-user

0 comments on commit c22d88e

Please sign in to comment.