21 lines
424 B
YAML
21 lines
424 B
YAML
|
name: Test
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up Python
|
||
|
uses: actions/setup-python@v1
|
||
|
with:
|
||
|
python-version: 3.7
|
||
|
- name: Install Molecule
|
||
|
run: pip install molecule[lint,docker]
|
||
|
- name: Lint
|
||
|
run: |
|
||
|
yamllint .
|
||
|
ansible-lint
|
||
|
- name: Test using Molecule
|
||
|
run: molecule test
|