Skip to content

Actions/commands improvements and fixes #844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

aplowman
Copy link
Contributor

@aplowman aplowman commented Jun 24, 2025

  • refactor tests of Command.get_command_line to use a utility function
  • fix hashing of commands (environment specifiers are now distinguished)
  • document variables that can appear in commands and environments
  • enable an alternative, more compact form of action-environment specification within task schemas:
    actions:
      - environments:
          processing: python_env
          main: sim_env
        commands:
          - command: echo "hello"
    instead of:
    actions:
      - environments:
          - scope:
              type: processing
            environment: python_env
          - scope:
              type: main
            environment: sim_env
        commands:
          - command: echo "hello"

@aplowman aplowman added bug Something isn't working documentation Improvements or additions to documentation actions Related to usage, creation, documentation etc of task schema actions labels Jun 24, 2025
@aplowman aplowman changed the title Commands improvements and fixes Actions/commands improvements and fixes Jun 24, 2025
@aplowman aplowman marked this pull request as ready for review July 14, 2025 15:43
@aplowman aplowman requested a review from a team as a code owner July 14, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions Related to usage, creation, documentation etc of task schema actions bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant