-
Notifications
You must be signed in to change notification settings - Fork 0
45 only run the unit tests which touch changed code in the CI #50
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
Closed
max-models
wants to merge
43
commits into
devel
from
45-only-run-the-unit-tests-which-touch-changed-code-in-the-ci
Closed
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
f4bd5f7
Update action.yml
max-models 62253e4
Update action.yml
max-models 810916c
Merge branch 'devel' into 45-only-run-the-unit-tests-which-touch-chan…
max-models 8843cac
Update action.yml
max-models 4cdb2da
Added --testmon to unit tests
max-models 7bdb667
Removed -k from unit tests
max-models 5dbc99e
Put testmon data in cache
max-models 03adb04
Continue if no testmondata is found
max-models 20f978d
Added struphy_verification_tests/ to .gitignore
max-models 6343bf3
--ignore=model/tests
max-models d5f638b
Check testmon from devel before any other branch.
max-models ca13950
Added TESTMON_DATAFILE to env
max-models ac2b016
Added caching of .testmondata at the end of the pipeline
max-models e033901
Set concurrency with cancel-in-progress: true
max-models ab9e96e
Moved verification tests into verification/
max-models 0a72627
Specify tests with paths
max-models 97ecf4c
FOrmatting
max-models d201a74
Moved one unit test
max-models 4cf0c85
Formatting
max-models 768bce9
Removed everything other than the unit test in the CI
max-models decfd63
Trigger CI
max-models c69b28c
Moved model tests to tests/model
max-models c396007
Moved verification tests to tests/verification
max-models 0b82265
Moved all tests into tests/
max-models 5cb8586
Moved the last test
max-models 6a5f232
Fixed incorrect import
max-models d9a02e9
Removed duplicate testing
max-models 91b8ab7
Cleanup test.py
max-models 8405f95
Separate the cached testmondata depending on the test-type so we aren…
max-models 0c620c4
Cleanup
max-models f4ce7f8
Fix imports
max-models 1d2502f
Commented out MPI test with --testmon
max-models cb02222
Formatting
max-models 6b27161
Fixed ls testmon*
max-models ba29fde
Split unit tests from unit-mpi
max-models c1f9931
Cleanup
max-models 3de56a4
Run all unit tests
max-models 0905d6e
Skip unit-mpi
max-models 9a0f929
Added conftest.py to the package
max-models 9fc5284
Uncommented MPI unit tests
max-models e80c507
only run tests/unit/bsplines/ in unit tests
max-models f4b1228
temp
max-models ff055b6
Merge branch 'devel' into 45-only-run-the-unit-tests-which-touch-chan…
max-models File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| name: "Run unit tests with MPI" | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Run unit tests with MPI | ||
| shell: bash | ||
| run: | | ||
| pip install mpi4py | ||
| struphy test unit --mpi 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it a bit odd to import a plotting function from a testing file, should it not be the opposite way around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes i agree, please correct.