CI: Squash Debian targets into single file and remove the :latest

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen 2022-04-07 15:02:00 +02:00 committed by Jakub Jelen
parent 2d7009c59a
commit afcefb6442
5 changed files with 43 additions and 72 deletions

View file

@ -1,18 +0,0 @@
name: Run tests on Debian bullseye (11)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- name: checkout PR
uses: actions/checkout@v2
- name: ansible check with debian:bullseye (11)
uses: roles-ansible/check-ansible-debian-bullseye-action@main
with:
group: local
hosts: localhost
targets: "tests/tests_*.yml"

View file

@ -1,18 +0,0 @@
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
- name: checkout PR
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/tests_*.yml"

View file

@ -0,0 +1,43 @@
name: Run tests on Debian
on: [push, pull_request]
jobs:
debian-bullseye:
runs-on: ubuntu-latest
steps:
- name: checkout PR
uses: actions/checkout@v2
- name: ansible check with debian bullseye (11)
uses: roles-ansible/check-ansible-debian-bullseye-action@main
with:
group: local
hosts: localhost
targets: "tests/tests_*.yml"
debian-buster:
runs-on: ubuntu-latest
steps:
- name: checkout PR
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/tests_*.yml"
debian-stretch:
runs-on: ubuntu-latest
steps:
- name: checkout PR
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/tests_*.yml"

View file

@ -1,18 +0,0 @@
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
- name: checkout PR
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/tests_*.yml"

View file

@ -1,18 +0,0 @@
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
- name: checkout PR
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/tests_*.yml"