-
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.
- Loading branch information
Showing
16 changed files
with
34 additions
and
20 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 |
---|---|---|
|
@@ -188,7 +188,7 @@ jobs: | |
if [ -n "${{ inputs.build_libs }}" ]; then | ||
pip install ${{ inputs.build_libs }} | ||
fi | ||
pip install git+https://github.com/SINTEF/[email protected].2 | ||
pip install git+https://github.com/SINTEF/[email protected].3 | ||
- name: Parse changelog configuration | ||
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 |
---|---|---|
|
@@ -236,7 +236,7 @@ jobs: | |
python -m pip install --upgrade pip | ||
pip install -U setuptools wheel | ||
pip install ${EDITABLE}.${{ inputs.doc_extras }} | ||
pip install git+https://github.com/SINTEF/[email protected].2 | ||
pip install git+https://github.com/SINTEF/[email protected].3 | ||
INSTALLED_PACKAGES=$(pip freeze) | ||
if [ "${{ inputs.docs_framework }}" == "mkdocs" ]; then | ||
|
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 |
---|---|---|
|
@@ -137,7 +137,7 @@ jobs: | |
python -m pip install -U ${VERBOSE} pip | ||
pip install -U ${VERBOSE} setuptools wheel | ||
pip install ${VERBOSE} .${{ inputs.install_extras }} | ||
pip install ${VERBOSE} git+https://github.com/SINTEF/[email protected].2 | ||
pip install ${VERBOSE} git+https://github.com/SINTEF/[email protected].3 | ||
- name: Set up git user | ||
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 |
---|---|---|
|
@@ -391,7 +391,7 @@ jobs: | |
python -m pip install -U pip | ||
pip install -U setuptools wheel | ||
pip install ${EDITABLE}.${{ inputs.install_extras }} | ||
pip install git+https://github.com/SINTEF/[email protected].2 | ||
pip install git+https://github.com/SINTEF/[email protected].3 | ||
- name: Update API Reference | ||
if: env.framework == 'mkdocs' && inputs.update_python_api_ref | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
import logging | ||
|
||
__version__ = "2.7.2" | ||
__version__ = "2.7.3" | ||
__author__ = "Casper Welzel Andersen" | ||
__author_email__ = "[email protected]" | ||
|
||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ See the [proper section](../hooks/docs_api_reference.md#using-it-together-with-c | |
The content of repository files can be updated to use the new version where necessary. | ||
This is done through the `version_update_changes` (and `version_update_changes_separator`) inputs. | ||
|
||
To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.7.2/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow. | ||
To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.7.3/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow. | ||
|
||
Some notes to consider and respect when using `version_update_changes` are: | ||
|
||
|
@@ -139,7 +139,7 @@ on: | |
jobs: | ||
publish: | ||
name: Publish package and documentation | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository == 'SINTEF/my-python-package' && startsWith(github.ref, 'refs/tags/v') | ||
with: | ||
git_username: "Casper Welzel Andersen" | ||
|
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ on: | |
jobs: | ||
update-dependency-branch: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) | ||
secrets: | ||
PAT: ${{ secrets.RELEASE_PAT }} | ||
|
@@ -76,7 +76,7 @@ on: | |
jobs: | ||
update-dependency-branch: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) | ||
with: | ||
perform_changes: true | ||
|
@@ -100,7 +100,7 @@ on: | |
jobs: | ||
update-dependency-branch: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) | ||
with: | ||
perform_changes: true | ||
|
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 |
---|---|---|
|
@@ -103,7 +103,7 @@ on: | |
jobs: | ||
updates-to-stable: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' | ||
with: | ||
git_username: "Casper Welzel Andersen" | ||
|
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 @@ Here is an example of different lines given as value for the `ignore` option tha | |
# ... | ||
jobs: | ||
check-dependencies: | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
with: | ||
# ... | ||
# For Sphinx, ignore all updates for/from version 4.5.0 and up / keep the minimum version for Sphinx at 4.5.0. | ||
|
@@ -96,7 +96,7 @@ on: | |
jobs: | ||
check-dependencies: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' | ||
with: | ||
git_username: "Casper Welzel Andersen" | ||
|
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 |
---|---|---|
|
@@ -163,7 +163,7 @@ on: | |
jobs: | ||
tests: | ||
name: Run basic tests | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
with: | ||
python_version_pylint_safety: "3.8" | ||
python_version_docs: "3.7" | ||
|
@@ -191,7 +191,7 @@ on: | |
jobs: | ||
tests: | ||
name: Run basic tests | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
with: | ||
python_version_pylint_safety: "3.8" | ||
python_version_docs: "3.7" | ||
|
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 |
---|---|---|
|
@@ -65,7 +65,7 @@ on: | |
jobs: | ||
check-dependencies: | ||
name: Call external workflow | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].2 | ||
uses: SINTEF/ci-cd/.github/workflows/[email protected].3 | ||
if: github.repository_owner == 'SINTEF' | ||
with: | ||
git_username: "Casper Welzel Andersen" | ||
|