mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
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
|