-
-
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 pull request #432 from Der-Henning/dev
bump v1.18.0_rc3
- Loading branch information
Showing
56 changed files
with
5,358 additions
and
2,506 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Poetry Setup Action | ||
|
||
inputs: | ||
poetry-version: | ||
required: false | ||
type: string | ||
default: latest | ||
python-version: | ||
required: false | ||
type: string | ||
default: 3.11 | ||
install-dependencies: | ||
required: false | ||
type: boolean | ||
default: true | ||
without: | ||
required: false | ||
type: string | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.python-version }} | ||
- if: ${{ inputs.poetry-version != 'latest' }} | ||
shell: bash | ||
run: pip install --upgrade pip setuptools wheel poetry==${{ inputs.poetry-version }} | ||
- if: ${{ inputs.poetry-version == 'latest' }} | ||
shell: bash | ||
run: pip install --upgrade pip setuptools wheel poetry | ||
- name: Configure Poetry | ||
shell: bash | ||
run: | | ||
poetry config virtualenvs.create true | ||
poetry config virtualenvs.in-project true | ||
poetry config installer.max-workers 1 | ||
- uses: actions/cache@v3 | ||
if: inputs.without != '' && inputs.install-dependencies | ||
with: | ||
path: ./.venv | ||
key: venv-without-${{ inputs.without }}-poetry-${{ inputs.poetry-version }}-python-${{ inputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ runner.os }} | ||
- uses: actions/cache@v3 | ||
if: inputs.without == '' && inputs.install-dependencies | ||
with: | ||
path: ./.venv | ||
key: venv-poetry-${{ inputs.poetry-version }}-python-${{ inputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ runner.os }} | ||
- name: Install dependencies | ||
if: inputs.without != '' && inputs.install-dependencies | ||
shell: bash | ||
run: poetry install --no-interaction --without ${{ inputs.without }} | ||
- name: Install dependencies | ||
if: inputs.without == '' && inputs.install-dependencies | ||
shell: bash | ||
run: poetry install --no-interaction |
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ venv | |
.coverage | ||
coverage.xml | ||
.pytest_cache | ||
requirements.txt | ||
.mypy_cache | ||
.tox | ||
|
||
.env | ||
config.ini | ||
|
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.