-
Notifications
You must be signed in to change notification settings - Fork 73
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 753-validate-taptarget-config-options
- Loading branch information
Showing
131 changed files
with
3,905 additions
and
3,340 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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: codspeed | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request: | ||
# `workflow_dispatch` allows CodSpeed to trigger backtest | ||
# performance analysis in order to generate initial data. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmarks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python 3.11 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.11 | ||
architecture: x64 | ||
|
||
- name: Install poetry | ||
run: | | ||
curl -fsS https://install.python-poetry.org | python - -y | ||
- name: Configure poetry | ||
run: poetry config virtualenvs.create false | ||
|
||
- name: Install project | ||
run: > | ||
poetry install | ||
-vvv | ||
--with dev | ||
--with benchmark | ||
--all-extras | ||
- name: Run benchmarks | ||
uses: CodSpeedHQ/action@v1 | ||
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,5 +1,5 @@ | ||
pip==23.2 | ||
poetry==1.5.1 | ||
pre-commit==3.3.3 | ||
pip==23.3.1 | ||
poetry==1.7.1 | ||
pre-commit==3.5.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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Upgrade pip | ||
env: | ||
|
@@ -43,7 +43,7 @@ jobs: | |
poetry --version | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
@@ -74,7 +74,10 @@ jobs: | |
path: | | ||
/tmp/tap-* | ||
/tmp/target-* | ||
/tmp/mapper-* | ||
!/tmp/tap-*/.mypy_cache/ | ||
!/tmp/target-*/.mypy_cache/ | ||
!/tmp/mapper-*/.mypy_cache/ | ||
!/tmp/tap-*/.tox/ | ||
!/tmp/target-*/.tox/ | ||
!/tmp/mapper-*/.tox/ |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
push: | ||
tags: | ||
- v* | ||
|
||
permissions: | ||
contents: write # Needed to upload artifacts to the release | ||
|
@@ -16,10 +17,10 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: "3.10" | ||
|
||
|
@@ -56,4 +57,4 @@ jobs: | |
file_glob: true | ||
|
||
- name: Publish | ||
uses: pypa/[email protected].8 | ||
uses: pypa/[email protected].10 |
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ env: | |
|
||
jobs: | ||
tests: | ||
name: Test on ${{ matrix.python-version }} (${{ matrix.session }}) / ${{ matrix.os }} | ||
name: "Test on ${{ matrix.python-version }} (${{ matrix.session }}) / ${{ matrix.os }} / SQLAlchemy: ${{ matrix.sqlalchemy }}" | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
NOXSESSION: ${{ matrix.session }} | ||
|
@@ -47,13 +47,15 @@ jobs: | |
session: [tests] | ||
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
sqlalchemy: ["2.*"] | ||
include: | ||
- { session: doctest, python-version: "3.10", os: "ubuntu-latest" } | ||
- { session: mypy, python-version: "3.8", os: "ubuntu-latest" } | ||
- { session: tests, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "1.*" } | ||
- { session: doctest, python-version: "3.10", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: mypy, python-version: "3.8", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Install Poetry | ||
env: | ||
|
@@ -63,7 +65,7 @@ jobs: | |
poetry --version | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
@@ -86,6 +88,8 @@ jobs: | |
nox --version | ||
- name: Run Nox | ||
env: | ||
SQLALCHEMY_VERSION: ${{ matrix.sqlalchemy }} | ||
run: | | ||
nox --python=${{ matrix.python-version }} | ||
|
@@ -111,7 +115,7 @@ jobs: | |
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Install Poetry | ||
env: | ||
|
@@ -121,7 +125,7 @@ jobs: | |
poetry --version | ||
- name: Setup Python 3.10 | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
architecture: x64 | ||
|
@@ -153,15 +157,15 @@ jobs: | |
needs: tests | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry | ||
poetry --version | ||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
|
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 |
---|---|---|
|
@@ -35,19 +35,19 @@ jobs: | |
pull-requests: write # to create and update PRs | ||
|
||
steps: | ||
- uses: actions/checkout@v3.5.3 | ||
- uses: actions/checkout@v4.1.1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: "3.10" | ||
architecture: x64 | ||
|
||
- name: Bump version | ||
id: cz-bump | ||
uses: commitizen-tools/commitizen-action@0.18.2 | ||
uses: commitizen-tools/commitizen-action@0.20.0 | ||
with: | ||
increment: ${{ github.event.inputs.bump != 'auto' && github.event.inputs.bump || '' }} | ||
prerelease: ${{ github.event.inputs.prerelease != 'none' && github.event.inputs.prerelease || '' }} | ||
|
@@ -66,8 +66,7 @@ jobs: | |
body_path: _changelog_fragment.md | ||
tag_name: v${{ steps.cz-bump.outputs.version }} | ||
prerelease: ${{ github.event.inputs.prerelease != 'none' }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }} | ||
|
||
- name: Set repo file permissions | ||
run: | | ||
|
@@ -77,6 +76,7 @@ jobs: | |
uses: peter-evans/create-pull-request@v5 | ||
id: create-pull-request | ||
with: | ||
token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }} | ||
commit-message: "chore: Bump package version" | ||
title: "chore: Release v${{ steps.cz-bump.outputs.version }}" | ||
body: | | ||
|
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.