Skip to content

Update and pin versions of actions and images #94

Update and pin versions of actions and images

Update and pin versions of actions and images #94

Workflow file for this run

---
name: Test stackhpc.kayobe_workflows collection
'on':
pull_request:
jobs:
test:
name: Test github role
runs-on: ubuntu-latest
strategy:
matrix:
name:
- none_default
- single_default
- input_default
- none_custom_registry
- single_custom_registry
- input_custom_registry
- none_custom_kayobe_argument
- single_custom_kayobe_argument
- input_custom_kayobe_argument
- reference
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
- name: Set up Python 3.
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Ansible
run: pip3 install ansible
- name: Test the playbook ${{ matrix.name }}
run: "ansible-playbook -i tests/inventory/hosts.yml tests/test.yml --limit ${{ matrix.name }}"
env:
ANSIBLE_FORCE_COLOR: '1'
- name: Upload workflows produced ${{ matrix.name }}
uses: actions/upload-artifact@v3
with:
name: "${{ format('github_kayobe_workflows_{0}', matrix.name) }}"
path: "${{ format('tests/.github/{0}', matrix.name) }}"