-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1626-configurable-batch-size-and-max-wait-li…
…mit-for-targets
- Loading branch information
Showing
71 changed files
with
1,270 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,7 @@ updates: | |
interval: weekly | ||
reviewers: [meltano/engineering] | ||
labels: [deps] | ||
groups: | ||
actions: | ||
patterns: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,12 +36,10 @@ jobs: | |
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
- uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
|
@@ -54,8 +52,7 @@ jobs: | |
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
- uses: github/codeql-action/autobuild@v3 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
@@ -67,5 +64,4 @@ jobs: | |
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
- uses: github/codeql-action/analyze@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,21 @@ on: | |
push: | ||
branches: | ||
- "main" | ||
paths: | ||
- "singer_sdk/**" | ||
- "tests/**" | ||
- "noxfile.py" | ||
- "poetry.lock" | ||
- "pyproject.toml" | ||
- ".github/workflows/codspeed.yml" | ||
pull_request: | ||
paths: | ||
- "singer_sdk/**" | ||
- "tests/**" | ||
- "noxfile.py" | ||
- "poetry.lock" | ||
- "pyproject.toml" | ||
- ".github/workflows/codspeed.yml" | ||
# `workflow_dispatch` allows CodSpeed to trigger backtest | ||
# performance analysis in order to generate initial data. | ||
workflow_dispatch: | ||
|
@@ -13,13 +27,10 @@ jobs: | |
benchmarks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
python-version: 3.12 | ||
architecture: x64 | ||
|
||
- name: Install poetry | ||
|
@@ -37,8 +48,7 @@ jobs: | |
--with benchmark | ||
--all-extras | ||
- name: Run benchmarks | ||
uses: CodSpeedHQ/action@v2 | ||
- uses: CodSpeedHQ/action@v2 | ||
with: | ||
token: ${{ secrets.CODSPEED_TOKEN }} | ||
run: pytest tests/ --codspeed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
pip==23.3.1 | ||
pip==23.3.2 | ||
poetry==1.7.1 | ||
poetry-plugin-export==1.6.0 | ||
pre-commit==3.5.0 | ||
pre-commit==3.6.0 | ||
nox==2023.4.22 | ||
nox-poetry==1.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,9 +33,7 @@ jobs: | |
- { python-version: "3.11", os: "ubuntu-latest" } | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Upgrade pip | ||
env: | ||
PIP_CONSTRAINT: .github/workflows/constraints.txt | ||
|
@@ -52,8 +50,7 @@ jobs: | |
poetry --version | ||
poetry self show plugins | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
@@ -77,10 +74,10 @@ jobs: | |
run: | | ||
nox --python=${{ matrix.python-version }} --session=test_cookiecutter | ||
- name: Upload build artifacts | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: cookiecutter-${{ matrix.os }}-py${{ matrix.python-version }} | ||
path: | | ||
/tmp/tap-* | ||
/tmp/target-* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,8 @@ jobs: | |
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected] | ||
|
||
- name: GitHub dependency vulnerability check | ||
- uses: actions/checkout@v4 | ||
- uses: actions/dependency-review-action@v3 | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: actions/[email protected] | ||
with: | ||
fail-on-severity: high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,16 +47,15 @@ jobs: | |
matrix: | ||
session: [tests] | ||
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
sqlalchemy: ["2.*"] | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
sqlalchemy: ["2"] | ||
include: | ||
- { session: tests, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "1.*" } | ||
- { session: doctest, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: mypy, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: tests, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "1" } | ||
- { session: doctest, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2" } | ||
- { session: mypy, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2" } | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
env: | ||
|
@@ -67,8 +66,7 @@ jobs: | |
poetry --version | ||
poetry self show plugins | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
@@ -96,11 +94,10 @@ jobs: | |
run: | | ||
nox --verbose | ||
- name: Upload coverage data | ||
- uses: actions/upload-artifact@v4 | ||
if: always() && (matrix.session == 'tests') | ||
uses: actions/[email protected] | ||
with: | ||
name: coverage-data | ||
name: coverage-data-nox_${{ matrix.session }}-${{ matrix.os }}-py${{ matrix.python-version }}_sqlalchemy_${{ matrix.sqlalchemy }} | ||
path: ".coverage.*" | ||
|
||
tests-external: | ||
|
@@ -119,8 +116,7 @@ jobs: | |
SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID }} | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
env: | ||
|
@@ -131,8 +127,7 @@ jobs: | |
poetry --version | ||
poetry self show plugins | ||
- name: Setup Python | ||
uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.NOXPYTHON }} | ||
architecture: x64 | ||
|
@@ -163,8 +158,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: tests | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
env: | ||
|
@@ -175,8 +169,7 @@ jobs: | |
poetry --version | ||
poetry self show plugins | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
|
@@ -187,10 +180,10 @@ jobs: | |
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip --version | ||
- name: Download coverage data | ||
uses: actions/[email protected] | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: coverage-data | ||
pattern: coverage-data-* | ||
merge-multiple: true | ||
|
||
- name: Install Nox | ||
env: | ||
|
@@ -208,8 +201,7 @@ jobs: | |
run: | | ||
nox --session=coverage -- xml | ||
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,12 +36,11 @@ jobs: | |
discussions: write # to create a discussion | ||
|
||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
architecture: x64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.