Skip to content

Commit 85a8668

Browse files
authored
[Enabler] Update sanity tests workflow to use Ansible 2.18 (#2059)
* testing version change sanity * testing for sanity on 2.18 * testing sanity changes * changelog and changes * review comments incorporation
1 parent e296f40 commit 85a8668

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ac-ansible-test-sanity.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,23 @@ jobs:
5151
- name: Set up Python
5252
uses: actions/setup-python@v5
5353
with:
54-
python-version: 3.11
54+
python-version: 3.12
5555

5656
- name: Set up venv
5757
run: |
5858
python -m pip install --upgrade pip
5959
pip install virtualenv
6060
mkdir venv
61-
virtualenv venv/venv-2.16
61+
virtualenv venv/venv-2.18
6262
6363
- name: Install dependencies
6464
run: |
65-
source venv/venv-2.16/bin/activate
65+
source venv/venv-2.18/bin/activate
6666
python -m pip install --upgrade pip
67-
pip install ansible-core==2.17.6
67+
pip install "ansible-core>=2.18,<2.19"
6868
6969
- name: Run ac-sanity
7070
run: |
71-
source venv/venv-2.16/bin/activate
71+
source venv/venv-2.18/bin/activate
7272
./ac --ac-build
7373
./ac --ac-sanity
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trivial:
2+
- ac-ansible-test-sanity.yml - Updated the ansible version to 2.18,
3+
venv to 2.18, python to 3.12.
4+
(https://github.com/ansible-collections/ibm_zos_core/pull/2059).

0 commit comments

Comments
 (0)