Fixed collection failure issuees for some ansible version #316
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ansible Lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# this Action should follow steps to set up Python build environment | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install cohesity-management-sdk | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Perform sanity testing with ansible-test | |
uses: ansible-community/ansible-test-gh-action@release/v1 | |
with: | |
ansible-core-version: stable-2.15 | |
testing-type: sanity |