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:
4646 path : ansible_collections/devsec/hardening
4747 submodules : true
4848
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+
4957 - 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
5160
5261 - 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
5465 env :
5566 MOLECULE_DISTRO : ${{ matrix.molecule_distro }}
5667 working-directory : ansible_collections/devsec/hardening
You can’t perform that action at this time.
0 commit comments