mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 19:10:18 +01:00
Add Ubuntu and Debian test using Github Actions
This commit is contained in:
parent
6b36488299
commit
a15ad61af5
4 changed files with 68 additions and 0 deletions
17
.github/workflows/ansible-debian-buster.yml
vendored
Normal file
17
.github/workflows/ansible-debian-buster.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Run tests on Debian buster (10)
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:buster (10)
|
||||
uses: roles-ansible/check-ansible-debian-buster-action@master
|
||||
with:
|
||||
group: local
|
||||
hosts: localhost
|
||||
targets: "tests/*.yml"
|
17
.github/workflows/ansible-debian-stretch.yml
vendored
Normal file
17
.github/workflows/ansible-debian-stretch.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Run tests on Debian stretch (9)
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:stretch (9)
|
||||
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
||||
with:
|
||||
group: local
|
||||
hosts: localhost
|
||||
targets: "tests/*.yml"
|
17
.github/workflows/ansible-debian.yml
vendored
Normal file
17
.github/workflows/ansible-debian.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Run tests on Debian latest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with debian:latest
|
||||
uses: roles-ansible/check-ansible-debian-latest-action@master
|
||||
with:
|
||||
group: local
|
||||
hosts: localhost
|
||||
targets: "tests/*.yml"
|
17
.github/workflows/ansible-ubuntu.yml
vendored
Normal file
17
.github/workflows/ansible-ubuntu.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Run tests on Ubuntu latest
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: ansible check with ubuntu:latest
|
||||
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
||||
with:
|
||||
group: local
|
||||
hosts: localhost
|
||||
targets: "tests/*.yml"
|
Loading…
Reference in a new issue