Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Use new Singer SDK testing framework #196

Merged
merged 25 commits into from
Apr 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
20fa391
test: Use new testing Singer SDK testing framework
edgarrmondragon Jan 3, 2023
a15ea0a
add pytest plugin config
Jan 24, 2023
4c7cdad
poetry update
Jan 24, 2023
2efc5a4
Merge branch 'main' into test/use-new-singer-testing-framework
Jan 24, 2023
29216d0
poetry lock
Jan 24, 2023
be5278e
support ignoring no records
Jan 24, 2023
384d699
make suite_config a dataclass
Jan 24, 2023
a98dd63
poetry update
Jan 24, 2023
bfc48fb
poetry update singer-sdk
Jan 25, 2023
267e943
Update from PyPI distribution
edgarrmondragon Jan 30, 2023
b1681cb
chore: Bump pre-commit hooks
edgarrmondragon Jan 30, 2023
581d96f
ci: Set workflow concurrency
edgarrmondragon Jan 30, 2023
a188ae6
Merge branch 'main' into test/use-new-singer-testing-framework
edgarrmondragon Jan 30, 2023
e7836c4
Merge branch 'main' into test/use-new-singer-testing-framework
edgarrmondragon Feb 2, 2023
9901cda
Test with `max_records_limit`
edgarrmondragon Feb 7, 2023
a24f3cc
Merge branch 'main' into test/use-new-singer-testing-framework
edgarrmondragon Feb 7, 2023
a290ca3
apply max_records_limit to get_records()
Feb 8, 2023
bd5c18e
off by 1
Feb 8, 2023
50e5d0c
properly terminate loop
Feb 8, 2023
8102ad4
stop before record limit
Feb 8, 2023
64757a2
logic leak?
Feb 8, 2023
bca495c
poetry update singer-sdk
Feb 8, 2023
a32fc39
Merge branch 'main' into test/use-new-singer-testing-framework
edgarrmondragon Feb 8, 2023
41c3681
Merge branch 'main' into test/use-new-singer-testing-framework
edgarrmondragon Apr 10, 2023
070a87c
Use Singer SDK 0.23.0
edgarrmondragon Apr 10, 2023
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
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Test tap-stackexchange

on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,5 +40,7 @@ jobs:
tox --version

- name: Run lint command from tox.ini
env:
TAP_STACKEXCHANGE_KEY: ${{ secrets.TAP_STACKEXCHANGE_KEY }}
run: |
tox -e pytest
11 changes: 5 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"python.formatting.provider": "black",
"cSpell.words": [
"jsonl",
"stackexchange",
"stackoverflow"
]
"python.formatting.provider": "black",
"cSpell.words": ["jsonl", "stackexchange", "stackoverflow"],
"python.testing.pytestArgs": ["tests"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
Loading