Skip to content

Commit

Permalink
add molecule to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ehelms committed Jul 9, 2020
1 parent a986f52 commit b173bd3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@ jobs:
ansible-lint -r rules/ playbooks/*
ansible-lint -r rules/ roles/*
molecule:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install molecule
run: pip install molecule
- name: Run tests
run: |
for roledir in roles/*/molecule; do
pushd $(dirname $roledir)
molecule test
popd
done
vagrant:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit b173bd3

Please sign in to comment.