Skip to content

Commit

Permalink
Update integretion_utils.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NilashishC authored Mar 11, 2024
1 parent f191f94 commit 06abe0c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/integretion_utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,11 @@ jobs:
fail-fast: false
matrix:
ansible-version:
# - stable-2.9
- stable-2.13
# - stable-2.14
- stable-2.14
# - stable-2.15
# - milestone
# - devel
python-version:
# - "3.8"
# - "3.9"
# - "3.10"
- "3.11"

Check failure on line 49 in .github/workflows/integretion_utils.yml

View workflow job for this annotation

GitHub Actions / ansible-lint / Ansible Lint

yaml[indentation]

Wrong indentation: expected 10 but found 11
dependency-source:
- github
Expand All @@ -76,6 +71,9 @@ jobs:
- name: Install ansible-core (${{ matrix.ansible-version }})
run: python3 -m pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check

- name: Print the ansible version
run: ansible --version

- name: Pre install collections dependencies first so the collection install does not
run: ansible-galaxy collection install --pre ${{ inputs.collection_pre_install }} -p /home/runner/collections
if: inputs.collection_pre_install != ''
Expand Down Expand Up @@ -105,6 +103,7 @@ jobs:
if: steps.identify.outputs.dependency != '' && matrix.dependency-source == 'github'
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
with:
python-version: ${{ matrix.python-version }}
install_python_dependencies: true
source_path: ${{ env.dependency_directory }}
collection_path: ${{ steps.identify-dependency.outputs.collection_path }}
Expand All @@ -119,12 +118,6 @@ jobs:
tar_file: ${{ steps.identify.outputs.tar_file }}
ansible_version: ${{ matrix.ansible-version }}

- name: Print the ansible version
run: ansible --version

- name: Install the integration test dependency
run: python3 -m pip install git+https://github.com/ansible-network/pytest-ansible-network-integration.git

- name: Print the python dependencies
run: python3 -m pip list

Expand Down

0 comments on commit 06abe0c

Please sign in to comment.