forked from cjolowicz/cookiecutter-hypermodern-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'raw' tags to avoid Cookiecutter interpreting tags
- Loading branch information
Showing
3 changed files
with
19 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,10 +27,12 @@ jobs: | |
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
{% raw %} | ||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args "-c '${{ github.workspace }}'/.github/workflows/constraints.txt" poetry | ||
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry | ||
poetry --version | ||
{% endraw %} | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -24,17 +24,18 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
|
||
{% raw %} | ||
- name: Upgrade pip | ||
run: | | ||
pip install -c ${{ github.workspace }}/.github/workflows/constraints.txt pip | ||
pip --version | ||
{% endraw %} | ||
{% raw %} | ||
- name: Install Poetry | ||
run: | | ||
pip install -c ${{ github.workspace }}/.github/workflows/constraints.txt poetry | ||
poetry --version | ||
{% endraw %} | ||
- name: Check if there is a parent commit | ||
id: check-parent-commit | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -41,12 +41,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{"{{"}} matrix.python {{"}}"}} | ||
|
||
{% raw %} | ||
- name: Upgrade pip | ||
run: | | ||
pip install -c ${{ github.workspace }}/.github/workflows/constraints.txt pip | ||
pip --version | ||
{% endraw %} | ||
- name: Upgrade pip in virtual environments | ||
shell: python | ||
run: | | ||
|
@@ -55,18 +55,19 @@ jobs: | |
with open(os.environ["GITHUB_ENV"], mode="a") as io: | ||
print(f"VIRTUALENV_PIP={pip.__version__}", file=io) | ||
{% raw %} | ||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry | ||
poetry --version | ||
{% endraw %} | ||
{% raw %} | ||
- name: Install Nox | ||
run: | | ||
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox | ||
pipx inject --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox nox-poetry | ||
nox --version | ||
{% endraw %} | ||
- name: Compute pre-commit cache key | ||
if: matrix.session == 'pre-commit' | ||
id: pre-commit-cache | ||
|
@@ -123,23 +124,25 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
|
||
{% raw %} | ||
- name: Upgrade pip | ||
run: | | ||
pip install -c ${{ github.workspace }}/.github/workflows/constraints.txt pip | ||
pip --version | ||
{% endraw %} | ||
{% raw %} | ||
- name: Install Poetry | ||
run: | | ||
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" poetry | ||
poetry --version | ||
{% endraw %} | ||
{% raw %} | ||
- name: Install Nox | ||
run: | | ||
pipx install --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox | ||
pipx inject --pip-args "-c ${{ github.workspace }}/.github/workflows/constraints.txt" nox nox-poetry | ||
nox --version | ||
{% endraw %} | ||
- name: Download coverage data | ||
uses: actions/download-artifact@v4 | ||
with: | ||
|