Skip to content

Add Systemtests#347

Merged
MakisH merged 44 commits intodevelopfrom
add-systemtests
Aug 2, 2023
Merged

Add Systemtests#347
MakisH merged 44 commits intodevelopfrom
add-systemtests

Conversation

@valentin-seitz
Copy link
Copy Markdown
Contributor

@valentin-seitz valentin-seitz commented Jul 20, 2023

This PR introduces a first systemtests which is working good enough to be mergeable into develop.
Currently the following things work:

  • Run openfoam-openfoam case of the flow-over-heated-plate tutorial
  • Trigger the workflow to run the exact same case via github actions like: gh workflow run run_testsuite.yml --ref add-systemtests afterwards it would be gh workflow run run_testsuite.yml --ref develop

What still needs to be done:

@valentin-seitz valentin-seitz changed the base branch from master to develop July 20, 2023 09:14
@MakisH
Copy link
Copy Markdown
Member

MakisH commented Jul 31, 2023

Is there something I can already try out / review here?

@valentin-seitz valentin-seitz changed the title DRAFT: Add Systemtests Add Systemtests Aug 2, 2023
@valentin-seitz valentin-seitz requested a review from MakisH August 2, 2023 10:05
@valentin-seitz
Copy link
Copy Markdown
Contributor Author

valentin-seitz commented Aug 2, 2023

From my side this is stable enough to be merged to develop and iterate there in smaller PRs when adding adapters etc.

Copy link
Copy Markdown
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have previously reviewed most of the changes in other PRs. This looks good enough for now, let's merge it and start contributing in parallel in smaller PRs.

Of course, it needs some cleanup here and there, but mostly to replace placeholders with their actual implementations.

I could run the tests locally with:

python3 systemtests.py --suites=openfoam-adapter-release

which fails because of mismatch between tutorials branch (based on develop) and preCICE version (v2.5.0). Checking out the case files from master helped:

git checkout master -- ../../flow-over-heated-plate

Before running again, one needs to remove the temporary runs/ folder in the tutorials root. These files are currently owned by root (@valentin-seitz please open an issue).

I was also able to trigger the workflow from the GitHub CLI (which succeeded).

@@ -0,0 +1,13 @@
image: "ghcr.io/precice/openfoam-adapter:{{ params["openfoam-adapter-ref"] }}" # TODO: Update
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to overwrite this file later

@MakisH MakisH merged commit 657a2c8 into develop Aug 2, 2023
@MakisH MakisH deleted the add-systemtests branch August 2, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants