Skip to content

Commit

Permalink
Issue #36: Add GitHub Actions workflow for testing-molecule-kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Aug 31, 2020
1 parent 668a36e commit d3e9c27
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/testing-molecule-kind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Molecule Kind Test
'on':
push:
branches:
- main
pull_request:
schedule:
- cron: '0 6 * * *'

jobs:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
with:
path: ansible-for-kubernetes

- name: Set up Python.
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies.
run: pip3 install molecule[docker] ansible-lint yamllint

- name: Run molecule test.
run: molecule test

0 comments on commit d3e9c27

Please sign in to comment.