Skip to content

Commit

Permalink
Add source-hubspot to CI, and tell it to push :v4 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jshearer committed Feb 2, 2024
1 parent a3d37c0 commit 3f3e89b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ jobs:
- connector: source-google-ads
connector_type: capture
python: true
- connector: source-hubspot
connector_type: capture
python: true

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions source-hubspot/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v4
3 changes: 2 additions & 1 deletion source-hubspot/test.flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ captures:
# - "--listen"
# - "0.0.0.0:5678"
# - "--wait-for-client"
- __main__.py
- "-m"
- source-hubspot
config: config.yaml
bindings:
- resource:
Expand Down
6 changes: 3 additions & 3 deletions source-hubspot/tests/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_capture(request, snapshot):
"flowctl",
"preview",
"--source",
request.config.rootdir + "/test.flow.yaml",
request.config.rootdir + "/source-hubspot/test.flow.yaml",
],
stdout=subprocess.PIPE,
text=True,
Expand Down Expand Up @@ -39,7 +39,7 @@ def test_discover(request, snapshot):
"raw",
"discover",
"--source",
request.config.rootdir + "/test.flow.yaml",
request.config.rootdir + "/source-hubspot/test.flow.yaml",
"-o",
"json",
"--emit-raw"
Expand All @@ -59,7 +59,7 @@ def test_spec(request, snapshot):
"raw",
"spec",
"--source",
request.config.rootdir + "/test.flow.yaml"
request.config.rootdir + "/source-hubspot/test.flow.yaml"
],
stdout=subprocess.PIPE,
text=True,
Expand Down

0 comments on commit 3f3e89b

Please sign in to comment.