Skip to content

Code chages to handle multiple iso files #35

Code chages to handle multiple iso files

Code chages to handle multiple iso files #35

Workflow file for this run

---
name: Run ibm.power_hmc collection linting tests
# run sanity test during pull request to dev-collection
on:
push:
branches:
- '*'
pull_request:
branches: [ dev-collection ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
module-linting-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']
name: run module linting
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install linting test requirements
run: |
python -m pip install --upgrade pip
make install-ansible
make install-sanity-test-requirements
- name: build and install new content as collection
run: |
make prep-collection
- name: run linter
run: make module-lint
working-directory: /home/runner/.ansible/collections/ansible_collections/ibm/power_hmc