mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-24 19:06:35 +01:00
10521fe838
* Move linting to CI file, change badge.
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 |