Skip to content

Commit 6725f4a

Browse files
author
Andy Lu
committed
Add circle config
1 parent 08e8956 commit 6725f4a

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester-uv
6+
steps:
7+
- checkout
8+
- run:
9+
name: 'Setup virtual env'
10+
command: |
11+
uv venv --python=3.9 /usr/local/share/virtualenvs/tap-saasoptics
12+
source /usr/local/share/virtualenvs/tap-saasoptics/bin/activate
13+
uv pip install -U pip setuptools
14+
uv pip install .[dev]
15+
- add_ssh_keys
16+
- run:
17+
name: 'JSON Validator'
18+
command: |
19+
source /usr/local/share/virtualenvs/tap-tester/bin/activate
20+
stitch-validate-json /usr/local/share/virtualenvs/tap-saasoptics/lib/python3.9/site-packages/tap_saasoptics/schemas/*.json
21+
workflows:
22+
version: 2
23+
commit:
24+
jobs:
25+
- build:
26+
context: circleci-user
27+
build_daily:
28+
triggers:
29+
- schedule:
30+
cron: "0 0 * * *"
31+
filters:
32+
branches:
33+
only:
34+
- master
35+
jobs:
36+
- build:
37+
context: circleci-user

0 commit comments

Comments
 (0)