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 script and github action for fmi cross checks #179

Merged
merged 56 commits into from
Mar 29, 2023

Conversation

christofbaumgartner
Copy link
Contributor

This pull request adds the functionality to automatically run the fmi cross checks https://github.com/modelica/fmi-cross-check for FMI.jl and push the results to a fork of the fmi-cross-check repo.

This also includes a github action. After the pull request is merged following variables and secrets must be set in order to push the results.

  • (Variable) CROSS_CHECK_REPO_URL: The url (without protocol) to your fmi-cross-check repository. (Example: github.com/johndoe/fmi-cross-check)
  • (Variable) CROSS_CHECK_REPO_USER: The user that has write access to the fmi-cross-check repository and for which the token was created. (Example: johndoe)
  • (Secret) CROSS_CHECK_REPO_TOKEN: The github token that was created for the fmi-cross-check repository (Example: ghp_IqHJF673SD...)

No changes were made to the FMI.jl library itself

@ThummeTo
Copy link
Owner

closes #40

@ThummeTo ThummeTo changed the base branch from main to cross-checks March 29, 2023 14:46
@ThummeTo ThummeTo merged commit beb7145 into ThummeTo:cross-checks Mar 29, 2023
ThummeTo added a commit that referenced this pull request Apr 18, 2023
* Add script and github action for fmi cross checks (#179)

* Created basic structure for FMI Cross Checks

* Added summary for cross check runs

* First version of me checks

* Refactored cross checks and added nrmse

* Extracted nrmse calculation into function

* Included CS FMUs in Cross Check

* Added input values for cross checks

* Corrected logic for input values of cross check fmus

* Updated Documentation for cross checks

* Added new run parameter for cross checks

* Added Github action for cross checks

* Correct crosscheck git action path

* add install fmi step

* moved add packages to main cross check file

* added project toml

* add logic for linux folders

* Add changes for new fmiimport version

* Trigger github actions

* Trigger github actions

* Fix passing of OS param in github action

* striped ref value names

* Trigger github actions

* Trigger github actions

* Trigger github actions

* Make fmu cross checks more robust

* Trigger github actions

* catch unloading of fmus

* Trigger github actions

* Added first test git code

* Set git name and email

* add all files

* trigger github actions

* add auth

* changed vector syntax to brakets

* trigger actions

* switch to personal token

* Update cross_check.jl

* Update CrossChecks.yml

* Move personal token env to julia run

* added branches for fmi cross checks

* Added variables for configuring cross checks

* Fix git bug and updated docu

* trigger github actions

* Cleanup of fmi cross checks

* Removed unused code and updated FMIImport version

* trigger github actions

* Fix re-writing of cross check results

* Trigger github actions

* correct writing of result files

* always remove passed results on newly failed runs

* trigger github action

* Update cross check (#182)

* Update PkgEval action

* Update cross check action

---------

Co-authored-by: stoljarjo <[email protected]>

* minor modifications

* cross checks label

---------

Co-authored-by: Christof Baumgartner <[email protected]>
Co-authored-by: Johannes Stoljar <[email protected]>
Co-authored-by: stoljarjo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants