Skip to content
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

Add diffing to CI workflow #62

Open
6 tasks
nightlark opened this issue Mar 25, 2024 · 0 comments
Open
6 tasks

Add diffing to CI workflow #62

nightlark opened this issue Mar 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nightlark
Copy link
Member

Currently the workflow only converts a single HELICS header file to json. It should also run the diff command.

The desired functionality for the CI workflow is:

  • Use workflow_dispatch as a trigger that takes old and new versions as optional inputs
  • Automatically trigger workflow_dispatch with old and new versions from the helics_packaging repository when a new HELICS version is released
  • If old and/or new versions were not provided, automatically determine the latest two versions released
  • Download HELICS C header file for each version
  • Convert HELICS C header file for both versions to JSON
  • Do a diff of the HELICS C header file for both versions and save the result

This functionality could be interesting to incorporate as a GitHub composite action, enabling it to be used in other repositories easily... then maybe it could be used directly in helics_packaging workflow instead, and automatically open issues in repositories for the various language interfaces detailing what changes need to be made?

@nightlark nightlark added the enhancement New feature or request label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant