-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Removing run-tests.py
file.
#4180
Conversation
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Yet to add |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4180 +/- ##
========================================
Coverage 99.45% 99.45%
========================================
Files 288 288
Lines 22092 22092
========================================
Hits 21972 21972
Misses 120 120 ☔ View full report in Codecov by Sentry. |
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.
This is looking good! I tried locally and
==================================================================== 44 passed in 100.46s (0:01:40) ====================================================================
nox > Session scripts was successful.
much faster than the serial implementation. I checked and the slowest scripts are run_ecm.py
, experiment_drive_cycle.py
, and pouch_cell_cooling.py
. It might be worth improving those, but I guess 100 seconds for 44 scripts isn't too bad at all, afterall, and is rather great in terms of speedups.
Co-authored-by: Agriya Khetarpal <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
I think I messed up the branch. I'm having problems while pushing changes. I've made the changes for now. |
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
@prady0t, could you fix the failure in the style jobs so that the tests can run? |
Signed-off-by: Pradyot Ranjan <[email protected]>
…into removing-runtest Solving merge conflicts.
Done. I removed lot of code lines from |
Signed-off-by: Pradyot Ranjan <[email protected]>
…into removing-runtest Merging
Added documentation fixes. |
Co-authored-by: Agriya Khetarpal <[email protected]>
Co-authored-by: Agriya Khetarpal <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
…into removing-runtest Merging.
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.
Thanks for your work here, @prady0t! This looks great now – just a couple of comments, and this is ready to go.
This will need approval from @arjxn-py since he previously requested changes, we can merge after that |
Co-authored-by: Agriya Khetarpal <[email protected]>
Co-authored-by: Agriya Khetarpal <[email protected]>
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.
This looks good, thanks @prady0t.
Will just wait for CI to pass to observe logs once, then we can merge.
No unnecessary logs this time around: https://github.com/pybamm-team/PyBaMM/actions/runs/10115401416/job/27976388229 |
Noticed that, just that we'd need to update branch to merge. My bad, I should have done it earlier. |
* Removing run-test.py file Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Update test_examples.py * Update noxfile.py Co-authored-by: Agriya Khetarpal <[email protected]> * Removing run-test.py file Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * Removing example marker Signed-off-by: Pradyot Ranjan <[email protected]> * adding conftest.py file Signed-off-by: Pradyot Ranjan <[email protected]> * adding back changes Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Update test_examples.py * style: pre-commit fixes * Removing run-test.py file Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * Removing redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Update test_examples.py * Update noxfile.py Co-authored-by: Agriya Khetarpal <[email protected]> * adding back changes Signed-off-by: Pradyot Ranjan <[email protected]> * removing loop for file discovery Signed-off-by: Pradyot Ranjan <[email protected]> * removing loop for file discovery Signed-off-by: Pradyot Ranjan <[email protected]> * Adding more flags to pytest Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Adding markers for unit and integration tests Signed-off-by: Pradyot Ranjan <[email protected]> * Adding markers for unit and integration tests Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Added back assertDomainEqual Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Added fixture for debug mode Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Removed style failures Signed-off-by: Pradyot Ranjan <[email protected]> * Removed style failures Signed-off-by: Pradyot Ranjan <[email protected]> * Update conftest.py Co-authored-by: Agriya Khetarpal <[email protected]> * style: pre-commit fixes * Update conftest.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update noxfile.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update pyproject.toml Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/testcase.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/test_scripts.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/test_scripts.py Co-authored-by: Agriya Khetarpal <[email protected]> * style: pre-commit fixes * using -m instead of args Signed-off-by: Pradyot Ranjan <[email protected]> * removed redundent files Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * fixing style failure Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * adding documentation changes Signed-off-by: Pradyot Ranjan <[email protected]> * Update CONTRIBUTING.md Co-authored-by: Agriya Khetarpal <[email protected]> * Update CONTRIBUTING.md Co-authored-by: Agriya Khetarpal <[email protected]> * adding suggestions Signed-off-by: Pradyot Ranjan <[email protected]> * removing -s flag and getting file names in scripts log Signed-off-by: Pradyot Ranjan <[email protected]> * Update pyproject.toml Co-authored-by: Agriya Khetarpal <[email protected]> * Update CONTRIBUTING.md Co-authored-by: Agriya Khetarpal <[email protected]> --------- Signed-off-by: Pradyot Ranjan <[email protected]> Co-authored-by: Pradyot Ranjan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Arjun Verma <[email protected]> Co-authored-by: Eric G. Kratz <[email protected]>
Description
Trying to remove run-tests.py file.