-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Saltcheck merge #49195
Saltcheck merge #49195
Conversation
…pt to cleanup web documentation display
- minor cleanups - support test timing (changes output format) Support saltenv
Hi @mchugh19. There are some test failures here: https://jenkinsci.saltstack.com/job/pr-kitchen-centos7-py3/job/PR-49195/4/ |
…d support the new output format with the status key
Tests corrected and also took care of the issue from #49207 |
It's probably worth mentioning the change in to the release notes of the saltcheck output format. Parsing the new format requires checking the Previous:
New
|
@mchugh19 A few more lint failure on this: https://jenkinsci.saltstack.com/job/pr-lint/job/PR-49195/7/warnings52Result/ |
…mes to states. If previous behavior is desired, then check_all=True can be passed to run all tests in the specified saltcheck-tests directory.
@mchugh19 The static analyzer has a few suggestions here. Could you take a look and see if any of them make sense to you to fix? https://codeclimate.com/github/saltstack/salt/pull/49195 |
Yep, I looked over the codeclimate report, and it doesn't seem useful or applicable. |
What does this PR do?
saltcheck.run_state_tests
command by looking for the passed name in the saltcheck-tests directory. As documented in the module, this means tests are now associated to states by having the same name. The check_all option can be used to run all tests in the state's saltcheck-tests directory.For the state
This allows for the following saltchecks:
providing the output
Skip example
Pillar example
Tests written?
No
Commits signed with GPG?
No