[4.6][CI]Fix CI for newer debian image (#15583) (#6716)

* Fix CI for newer debian image (#15583)

* Fix CI for newer debian image

Signed-off-by: Rick Elrod <rick@elrod.me>

* Missed one

Signed-off-by: Rick Elrod <rick@elrod.me>

---------

Signed-off-by: Rick Elrod <rick@elrod.me>

* Update ci.yml

---------

Signed-off-by: Rick Elrod <rick@elrod.me>
Co-authored-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
Hao Liu 2024-10-15 15:33:55 -04:00 committed by GitHub
parent d1c85dae4d
commit 433974aea6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 1 deletions

View File

@ -58,6 +58,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: ./.github/actions/run_awx_devel
id: awx
with:
@ -140,6 +144,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
# The containers that GitHub Actions use have Ansible installed, so upgrade to make sure we have the latest version.
- name: Upgrade ansible-core
run: python3 -m pip install --upgrade ansible-core
@ -166,6 +174,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: ./.github/actions/run_awx_devel
id: awx
with:
@ -214,6 +226,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Upgrade ansible-core
run: python3 -m pip install --upgrade ansible-core

View File

@ -12,6 +12,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: install tox
run: pip install tox

View File

@ -33,7 +33,10 @@ jobs:
with:
show-progress: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install python requests
run: pip install requests
- name: Check if user is a member of Ansible org