Skip to content

Commit de9d780

Browse files
Merge pull request #28 from Previnkumar-G/main
Updated workflow
2 parents b64cdde + de2051e commit de9d780

File tree

2 files changed

+3
-36
lines changed

2 files changed

+3
-36
lines changed

.github/workflows/ansible-test.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,14 @@ jobs:
4949
strategy:
5050
fail-fast: false
5151
matrix:
52-
python-version: ["3.8", "3.9", "3.10", "3.11"]
53-
ansible-version: [stable-2.11, stable-2.12, stable-2.13, stable-2.14]
52+
python-version: ["3.9", "3.10", "3.11"]
53+
ansible-version: [stable-2.12, stable-2.13, stable-2.14]
5454
exclude:
5555
# Python 3.11 is supported only from ansible-core 2.14 onwards
56-
- python-version: "3.11"
57-
ansible-version: stable-2.11
5856
- python-version: "3.11"
5957
ansible-version: stable-2.12
6058
- python-version: "3.11"
6159
ansible-version: stable-2.13
62-
# Ansible-core 2.11 doesn't support python v3.10
63-
- python-version: "3.10"
64-
ansible-version: stable-2.11
65-
# Ansible-core 2.14 supports only python versions 3.9, 3.10 and 3.11
66-
- python-version: "3.8"
67-
ansible-version: stable-2.14
6860

6961
steps:
7062
- name: Set up Python ${{ matrix.python-version }}
@@ -85,8 +77,6 @@ jobs:
8577
run: |
8678
ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz
8779
if [ -f /home/runner/.ansible/collections/ansible_collections/dellemc/unity/tests/requirements.txt ]; then pip install -r /home/runner/.ansible/collections/ansible_collections/dellemc/unity/tests/requirements.txt; fi
88-
89-
9080
- name: Run Unit tests using ansible-test
9181
run: ansible-test units -v --color --python ${{ matrix.python-version }} --coverage
9282
working-directory: /home/runner/.ansible/collections/ansible_collections/dellemc/unity
@@ -103,7 +93,7 @@ jobs:
10393
strategy:
10494
fail-fast: false
10595
matrix:
106-
ansible-version: [stable-2.11, stable-2.12, stable-2.13, stable-2.14]
96+
ansible-version: [stable-2.12, stable-2.13, stable-2.14]
10797

10898
steps:
10999
- name: Set up Python 3.9

tests/sanity/ignore-2.11.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)