1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

enable minimal test for win_chocolatey in shippable (#26731)

* until we can have a robust internal source for chocolatey (and/or PSScriptAnalyzer sanity tests), we want to at least make sure that the module is syntactially valid.
This commit is contained in:
Matt Davis 2017-07-12 18:38:34 -07:00 committed by GitHub
parent 20d49af475
commit 74cc99fa35
2 changed files with 43 additions and 35 deletions

View file

@ -0,0 +1 @@
windows/ci/group3

View file

@ -16,6 +16,13 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- name: simple failure smoke test # NB: this is the only test that runs under shippable until others can use non-internet endpoints
win_chocolatey:
register: choco_fail
failed_when: "not choco_fail.msg | regex_search('Missing required argument: name')"
- when: lookup('env', 'ANSIBLE_TEST_CI') != 'shippable'
block:
- name: install sysinternals - name: install sysinternals
win_chocolatey: win_chocolatey:
name: sysinternals name: sysinternals