Skip to content

Automate README version updates via GitHub Actions #34

Description

@auroranavas

Currently, the README explicitly lists the supported versions for mal-toolbox and mal-simulator. Manually updating these versions every time these packages update risks our documentation falling out of sync with the rest of the MAL infrastructure. Especially, if the updates don't affect the tutorials.

I propose implementing a CI/CD pipeline using GitHub Actions that works as an automated integration test and auto-documentation tool. When a new version of either package is released, it should trigger a workflow in this repository. Alternatively, we could run the action weekly if we don't want to touch mal-toolbox and mal-simulator. Then, the action would:

  1. Install the newly updated packages.
  2. Run the tutorial scripts (e.g., python tutorial2_simulation.py) to verify compatibility.
  3. If the scripts execute successfully without crashing, modify the version strings in the README.
    3.1. If it does crash, send a notification to email or Slack.
  4. Commit and push the updated README directly to the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions