forked from cjolowicz/cookiecutter-hypermodern-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ade308e
commit c746805
Showing
6 changed files
with
183 additions
and
181 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pip==23.3.1 | ||
pip==23.3.2 | ||
cookiecutter==2.5.0 | ||
cutty==0.18.0 | ||
nox==2023.4.22 | ||
|
2 changes: 1 addition & 1 deletion
2
{{cookiecutter.project_name}}/.github/workflows/constraints.txt
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,4 +1,4 @@ | ||
pip==23.3.1 | ||
pip==23.3.2 | ||
nox==2023.4.22 | ||
nox-poetry==1.0.3 | ||
poetry==1.7.1 | ||
|
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 |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
bash -o pipefail -c "poetry version | cut -f 2 -d' '" | ||
- name: Bump version for developmental release | ||
if: "! steps.check-version.outputs.tag" | ||
if: (!steps.check-version.outputs.tag) | ||
run: | | ||
poetry version patch && | ||
version=$(poetry version | awk '{ print $2 }') && | ||
|
@@ -64,7 +64,7 @@ jobs: | |
uses: pypa/[email protected] | ||
|
||
- name: Publish package on TestPyPI | ||
if: "! steps.check-version.outputs.tag" | ||
if: (!steps.check-version.outputs.tag) | ||
uses: pypa/[email protected] | ||
with: | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
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 |
---|---|---|
|
@@ -98,14 +98,14 @@ jobs: | |
- name: Upload coverage data | ||
if: always() && matrix.session == 'tests' | ||
uses: "actions/upload-artifact@v3" | ||
uses: "actions/upload-artifact@v4" | ||
with: | ||
name: coverage-data | ||
path: ".coverage.*" | ||
|
||
- name: Upload documentation | ||
if: matrix.session == 'docs-build' | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: docs | ||
path: docs/_build | ||
|
@@ -141,9 +141,10 @@ jobs: | |
nox --version | ||
- name: Download coverage data | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: coverage-data | ||
pattern: coverage-data-* | ||
merge-multiple: true | ||
|
||
- name: Combine coverage data and display human readable report | ||
run: | | ||
|
@@ -164,4 +165,4 @@ jobs: | |
SONAR_TOKEN: {{ "${{ secrets.SONAR_TOKEN }}" }} | ||
# No need to run SonarCloud analysis if dependabot update or token not defined | ||
if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]') | ||
uses: SonarSource/[email protected].0 | ||
uses: SonarSource/[email protected].1 |
Oops, something went wrong.