Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- run:
name: "Setup virtual env"
command: |
uv venv --python 3.9 /usr/local/share/virtualenvs/tap-notion
uv venv --python 3.12 /usr/local/share/virtualenvs/tap-notion
source /usr/local/share/virtualenvs/tap-notion/bin/activate
uv pip install -U setuptools
uv pip install .[dev]
Expand All @@ -34,14 +34,15 @@ jobs:
path: test_output/report.xml
- store_artifacts:
path: htmlcov
# - run:
# name: "Integration Tests"
# command: |
# source /usr/local/share/virtualenvs/tap-tester/bin/activate
# uv pip install --upgrade awscli
# aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
# source dev_env.sh
# run-test --tap=tap-notion tests
- run:
name: "Integration Tests"
command: |
source /usr/local/share/virtualenvs/tap-tester/bin/activate
uv pip install --upgrade awscli
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh
source dev_env.sh
unset USE_STITCH_BACKEND
run-test --tap=tap-notion tests

workflows:
version: 2
Expand Down
6 changes: 0 additions & 6 deletions tap_notion/schemas/file_upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@
],
"format": "date-time"
},
"upload_url": {
"type": [
"string",
"null"
]
},
"archived": {
"type": [
"boolean",
Expand Down
192 changes: 189 additions & 3 deletions tap_notion/schemas/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
"null"
],
"additionalProperties": {
"type": "object",
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": [
Expand All @@ -107,14 +110,29 @@
"null"
],
"items": {
"type": "object",
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": [
"string",
"null"
]
},
"plain_text": {
"type": [
"string",
"null"
]
},
"href": {
"type": [
"string",
"null"
]
},
"text": {
"type": [
"object",
Expand All @@ -128,26 +146,194 @@
]
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"type": [
"object",
"null"
],
"properties": {
"bold": {
"type": [
"boolean",
"null"
]
},
"italic": {
"type": [
"boolean",
"null"
]
},
"strikethrough": {
"type": [
"boolean",
"null"
]
},
"underline": {
"type": [
"boolean",
"null"
]
},
"code": {
"type": [
"boolean",
"null"
]
},
"color": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"rich_text": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": [
"string",
"null"
]
},
"plain_text": {
"type": [
"string",
"null"
]
},
"href": {
"type": [
"string",
"null"
]
},
"text": {
"type": [
"object",
"null"
],
"properties": {
"content": {
"type": [
"string",
"null"
]
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"type": [
"object",
"null"
],
"properties": {
"bold": {
"type": [
"boolean",
"null"
]
},
"italic": {
"type": [
"boolean",
"null"
]
},
"strikethrough": {
"type": [
"boolean",
"null"
]
},
"underline": {
"type": [
"boolean",
"null"
]
},
"code": {
"type": [
"boolean",
"null"
]
},
"color": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"number": {
"type": [
"number",
"null"
]
},
"checkbox": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
"additionalProperties": true
}
},
"parent": {
Expand Down