File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,22 @@ jobs:
46
46
path : ansible_collections/devsec/hardening
47
47
submodules : true
48
48
49
+ - name : Install dependencies
50
+ run : |
51
+ source ~/.venv/ansible-collection-hardening/bin/activate
52
+ python -m pip install --no-cache-dir --upgrade pip
53
+ pip install -r requirements.txt
54
+ pip install python-vagrant
55
+ working-directory : ansible_collections/devsec/hardening
56
+
49
57
- name : Update Vagrant Box
50
- run : vagrant box update --box generic/${{ matrix.molecule_distro }} || true
58
+ run : |
59
+ vagrant box update --box generic/${{ matrix.molecule_distro }} || true
51
60
52
61
- name : Test with molecule
53
- run : molecule test -s ssh_hardening_bsd
62
+ run : |
63
+ source ~/.venv/ansible-collection-hardening/bin/activate
64
+ molecule test -s ssh_hardening_bsd
54
65
env :
55
66
MOLECULE_DISTRO : ${{ matrix.molecule_distro }}
56
67
working-directory : ansible_collections/devsec/hardening
You can’t perform that action at this time.
0 commit comments