-
Notifications
You must be signed in to change notification settings - Fork 74
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 http-connector
- Loading branch information
Showing
161 changed files
with
5,043 additions
and
3,742 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
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 | ||
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@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,5 +1,6 @@ | ||
pip==23.2.1 | ||
poetry==1.5.1 | ||
pre-commit==3.3.3 | ||
pip==23.3.1 | ||
poetry==1.7.1 | ||
poetry-plugin-export==1.6.0 | ||
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 |
---|---|---|
|
@@ -3,10 +3,16 @@ name: E2E Cookiecutters | |
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
paths: ["cookiecutter/**", "e2e-tests/cookiecutters/**"] | ||
paths: | ||
- "cookiecutter/**" | ||
- "e2e-tests/cookiecutters/**" | ||
- ".github/workflows/cookiecutter-e2e.yml" | ||
push: | ||
branches: [main] | ||
paths: ["cookiecutter/**", "e2e-tests/cookiecutters/**"] | ||
paths: | ||
- "cookiecutter/**" | ||
- "e2e-tests/cookiecutters/**" | ||
- ".github/workflows/cookiecutter-e2e.yml" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
|
@@ -18,17 +24,17 @@ env: | |
|
||
jobs: | ||
lint: | ||
name: Cookiecutter E2E ${{ matrix.python-version }} ${{ matrix.python-version }} / ${{ matrix.os }} | ||
name: Cookiecutter E2E Python ${{ matrix.python-version }} / ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- { python-version: "3.10", os: "ubuntu-latest" } | ||
- { python-version: "3.11", os: "ubuntu-latest" } | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Upgrade pip | ||
env: | ||
|
@@ -38,12 +44,16 @@ jobs: | |
pip --version | ||
- name: Install Poetry | ||
env: | ||
PIP_CONSTRAINT: .github/workflows/constraints.txt | ||
run: | | ||
pipx install poetry | ||
pipx inject poetry poetry-plugin-export | ||
poetry --version | ||
poetry self show plugins | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
@@ -59,8 +69,8 @@ jobs: | |
env: | ||
PIP_CONSTRAINT: .github/workflows/constraints.txt | ||
run: | | ||
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox | ||
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry | ||
pipx install nox | ||
pipx inject nox nox-poetry | ||
nox --version | ||
- name: Run Nox | ||
|
@@ -74,7 +84,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,12 +17,12 @@ 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" | ||
python-version: "3.11" | ||
|
||
- name: Upgrade pip | ||
env: | ||
|
@@ -56,4 +57,4 @@ jobs: | |
file_glob: true | ||
|
||
- name: Publish | ||
uses: pypa/[email protected].8 | ||
uses: pypa/[email protected].11 |
Oops, something went wrong.