name: Run tests on CentOS 7 on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - name: checkout PR uses: actions/checkout@v2 - name: ansible check with centos:7 uses: roles-ansible/check-ansible-centos-centos7-action@master with: group: local hosts: localhost targets: "tests/*.yml"