test on ansible 2.7 to 2.10

This commit is contained in:
ahmadali shafiee 2020-04-04 07:41:01 +00:00
parent 6515f182fe
commit 02c04f3052

View file

@ -3,7 +3,7 @@ name: Ansible Lint # feel free to pick your own name
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
test: test-ansible27:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -11,4 +11,39 @@ jobs:
uses: ansible/ansible-lint-action@master uses: ansible/ansible-lint-action@master
with: with:
targets: "tests/test.yml" targets: "tests/test.yml"
override-deps: |
ansible==2.7
args: ""
test-ansible28:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: "tests/test.yml"
override-deps: |
ansible==2.8
args: ""
test-ansible29:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: "tests/test.yml"
override-deps: |
ansible==2.9
args: ""
test-ansible210:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: "tests/test.yml"
override-deps: |
ansible==2.10
args: "" args: ""