Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}
- uses: pyiron/actions/update-env-files@actions-4.0.10
- uses: pyiron/actions/update-env-files@actions-4.0.11
- name: UpdateDependabotPR commit
run: |
git config --local user.email "pyiron@mpie.de"
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/hatch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ on:
description: 'The main runner to use everywhere'
default: 'ubuntu-22.04'
required: false
use-node:
type: boolean
description: 'Whether to setup Node.js and run npm ci before building. Required for packages with JS components.'
default: false
required: false
node-version:
type: string
description: 'Node.js version to use when use-node is true.'
default: '18'
required: false

jobs:
pypi-release:
Expand All @@ -88,11 +98,19 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- name: Setup Node.js
if: inputs.use-node
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
- name: Install npm dependencies
if: inputs.use-node
run: npm install
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.env-files }}
- uses: pyiron/actions/update-pyproject-dependencies@actions-4.0.10
- uses: pyiron/actions/update-pyproject-dependencies@actions-4.0.11
with:
input-toml: ${{ inputs.input-toml }}
lower-bound-yaml: ${{ inputs.lower-bound-yaml }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:

tests-and-coverage:
if: contains(github.event.pull_request.labels.*.name, 'run_coverage')
uses: pyiron/actions/.github/workflows/tests-and-coverage.yml@actions-4.0.10
uses: pyiron/actions/.github/workflows/tests-and-coverage.yml@actions-4.0.11
secrets: inherit

code-ql:
if: contains(github.event.pull_request.labels.*.name, 'run_CodeQL')
uses: pyiron/actions/.github/workflows/codeql.yml@actions-4.0.10
uses: pyiron/actions/.github/workflows/codeql.yml@actions-4.0.11
secrets: inherit
28 changes: 14 additions & 14 deletions .github/workflows/push-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
if: ${{ inputs.do-commit-updated-env }}
- uses: pyiron/actions/write-docs-env@actions-4.0.10
- uses: pyiron/actions/write-docs-env@actions-4.0.11
with:
env-files: ${{ inputs.docs-env-files }}
if: ${{ inputs.do-commit-updated-env }}
- uses: pyiron/actions/write-environment@actions-4.0.10
- uses: pyiron/actions/write-environment@actions-4.0.11
with:
env-files: ${{ inputs.notebooks-env-files }}
output-env-file: .binder/environment.yml
Expand All @@ -238,11 +238,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/build-docs@actions-4.0.10
- uses: pyiron/actions/build-docs@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.docs-env-files }}
Expand All @@ -253,11 +253,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/build-notebooks@actions-4.0.10
- uses: pyiron/actions/build-notebooks@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.notebooks-env-files }}
Expand Down Expand Up @@ -294,11 +294,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/unit-tests@actions-4.0.10
- uses: pyiron/actions/unit-tests@actions-4.0.11
with:
python-version: ${{ matrix.python-version }}
env-files: ${{ inputs.tests-env-files }}
Expand All @@ -311,7 +311,7 @@ jobs:
coverage:
needs: commit-updated-env
if: ${{ inputs.do-codecov || inputs.do-coveralls || inputs.do-codacy }}
uses: pyiron/actions/.github/workflows/tests-and-coverage.yml@actions-4.0.10
uses: pyiron/actions/.github/workflows/tests-and-coverage.yml@actions-4.0.11
secrets: inherit
with:
tests-env-files: ${{ inputs.tests-env-files }}
Expand All @@ -331,11 +331,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/unit-tests@actions-4.0.10
- uses: pyiron/actions/unit-tests@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.tests-env-files }}
Expand All @@ -350,11 +350,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/unit-tests@actions-4.0.10
- uses: pyiron/actions/unit-tests@actions-4.0.11
with:
python-version: ${{ inputs.alternate-tests-python-version }}
env-files: ${{ inputs.alternate-tests-env-files }}
Expand All @@ -370,7 +370,7 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/pip-check@actions-4.0.10
- uses: pyiron/actions/pip-check@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pyproject-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.env-files }}
- uses: pyiron/actions/update-pyproject-dependencies@actions-4.0.10
- uses: pyiron/actions/update-pyproject-dependencies@actions-4.0.11
with:
input-toml: ${{ inputs.input-toml }}
lower-bound-yaml: ${{ inputs.lower-bound-yaml }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ jobs:
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v4
- uses: pyiron/actions/add-to-python-path@actions-4.0.10
- uses: pyiron/actions/add-to-python-path@actions-4.0.11
if: inputs.extra-python-paths != ''
with:
path-dirs: ${{ inputs.extra-python-paths }}
- uses: pyiron/actions/unit-tests@actions-4.0.10
- uses: pyiron/actions/unit-tests@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.tests-env-files }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ on:

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/push-pull.yml@actions-4.0.10
uses: pyiron/actions/.github/workflows/push-pull.yml@actions-4.0.11
secrets: inherit
```

Expand Down
4 changes: 2 additions & 2 deletions build-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ inputs:
runs:
using: 'composite'
steps:
- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.standard-docs-env-file }} ${{ inputs.env-files }}
- uses: pyiron/actions/pyiron-config@actions-4.0.10
- uses: pyiron/actions/pyiron-config@actions-4.0.11
- name: Build sphinx documentation
shell: bash -l {0}
run: |
Expand Down
4 changes: 2 additions & 2 deletions build-notebooks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ inputs:
runs:
using: 'composite'
steps:
- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.standard-notebooks-env-file }} ${{ inputs.env-files }}
- uses: pyiron/actions/pyiron-config@actions-4.0.10
- uses: pyiron/actions/pyiron-config@actions-4.0.11
- name: Build notebooks
shell: bash -l {0}
run: $GITHUB_ACTION_PATH/../.support/build_notebooks.sh ${{ inputs.notebooks-dir }} ${{ inputs.exclusion-file }} ${{ inputs.kernel }}
2 changes: 1 addition & 1 deletion cached-miniforge/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: pyiron/actions/write-environment@actions-4.0.10
- uses: pyiron/actions/write-environment@actions-4.0.11
with:
env-files: ${{ inputs.env-files }}
- name: Calculate cache label info
Expand Down
2 changes: 1 addition & 1 deletion pip-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ inputs.env-files }}
Expand Down
4 changes: 2 additions & 2 deletions unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ runs:
echo "ENV_FILES = ${ENV_FILES}"
echo "env_files=$ENV_FILES" >> $GITHUB_OUTPUT

- uses: pyiron/actions/cached-miniforge@actions-4.0.10
- uses: pyiron/actions/cached-miniforge@actions-4.0.11
with:
python-version: ${{ inputs.python-version }}
env-files: ${{ steps.prepare-env-files.outputs.env_files }}
- uses: pyiron/actions/pyiron-config@actions-4.0.10
- uses: pyiron/actions/pyiron-config@actions-4.0.11
- name: Test
shell: bash -l {0}
run: |
Expand Down