Skip to content

Commit

Permalink
Provide default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Nov 26, 2024
1 parent ddf23f7 commit a3ef407
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/install-aiida-core/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
required: false
# NOTE: Hard-learned lesson: we cannot use type=boolean here, apparently :-(
# https://stackoverflow.com/a/76294014
# TODO: Rename this
# TODO: Rename this to 'from-lock'
from-requirements:
description: Install aiida-core dependencies from a uv lock file
default: 'true'
Expand All @@ -34,7 +34,9 @@ runs:
- name: Install dependencies from uv lock
if: ${{ inputs.from-requirements == 'true' }}
run: uv sync --locked
shell: bash

- name: Install aiida-core
if: ${{ inputs.from-requirements != 'true' }}
run: uv pip install --system -e .${{ inputs.extras }}
shell: bash
Loading

0 comments on commit a3ef407

Please sign in to comment.