Skip to content

feat: raise an exception if port or input script aren't provided in batch mode - #753

Merged
klmcadams merged 4 commits into
mainfrom
feat/cli-require-args
May 31, 2024
Merged

klmcadams merged 4 commits into
mainfrom
feat/cli-require-args

Conversation

@klmcadams

Copy link
Copy Markdown
Contributor

As the title says. Closes #659

@klmcadams
klmcadams requested a review from a team as a code owner May 30, 2024 18:40
@github-actions github-actions Bot added the enhancement New features or code improvements label May 30, 2024
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 30, 2024
Comment thread src/ansys/mechanical/core/run.py Resolved
@codecov

codecov Bot commented May 30, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.87%. Comparing base (cb09e02) to head (cc82d2f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
- Coverage   81.61%   80.87%   -0.74%     
==========================================
  Files          32       32              
  Lines        1980     1982       +2     
==========================================
- Hits         1616     1603      -13     
- Misses        364      379      +15     

@koubaa

koubaa commented May 30, 2024

Copy link
Copy Markdown
Contributor

please add unit tests to cover the expectations

Comment thread src/ansys/mechanical/core/run.py Resolved
@klmcadams
klmcadams merged commit fb2512b into main May 31, 2024
@klmcadams
klmcadams deleted the feat/cli-require-args branch May 31, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New features or code improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ansys-mechanical script in batch mode should require either -i or -port

4 participants