win_chocolatey: remove test packages after tests are run (#46431)
(cherry picked from commit 1de88cbaa9
)
This commit is contained in:
parent
3cfbc2791f
commit
2388126bdf
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,11 @@
|
|||
include_tasks: tests.yml
|
||||
|
||||
always:
|
||||
- name: ensure test package is uninstalled after tests
|
||||
win_chocolatey:
|
||||
name: '{{ test_choco_packages }}'
|
||||
state: absent
|
||||
|
||||
- name: remove test sources
|
||||
win_chocolatey_source:
|
||||
name: '{{ item }}'
|
||||
|
|
Loading…
Reference in a new issue