ansible-role-borgbackup/.github/workflows/main.yml
Manu 10521fe838
Use Github actions for testing. (#35)
* Move linting to CI file, change badge.
2020-03-09 13:23:13 +08:00

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