Skip to content

Commit

Permalink
Remove Python 2.7 from sanity tests (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde authored Sep 9, 2024
1 parent 896f541 commit 2848036
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html

sanity:
name: Sanity (Ⓐ${{ matrix.ansible }})
name: Sanity (Ⓐ${{ matrix.ansible }}) - ${{ matrix.python }}
strategy:
matrix:
ansible:
Expand All @@ -81,6 +81,11 @@ jobs:
- stable-2.17
- devel
# - milestone
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
# Ansible-test on various stable branches does not yet work well with cgroups v2.
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will
Expand All @@ -101,6 +106,7 @@ jobs:
with:
ansible-core-version: ${{ matrix.ansible }}
testing-type: sanity
target-python-version: ${{ matrix.python }}
# OPTIONAL If your sanity tests require code
# from other collections, install them like this
# test-deps: >-
Expand Down Expand Up @@ -140,7 +146,6 @@ jobs:
- stable-2.17
- devel
# - milestone

steps:
- name: >-
Perform unit testing against
Expand Down Expand Up @@ -199,8 +204,6 @@ jobs:
# https://github.com/ansible-collections/news-for-maintainers in a timely manner,
# consider dropping testing against EOL versions and versions you don't support.
# ansible-core 2.15
- ansible: stable-2.15
python: '2.7'
- ansible: stable-2.15
python: '3.5'
- ansible: stable-2.15
Expand All @@ -216,8 +219,6 @@ jobs:
- ansible: stable-2.15
python: '3.11'
# ansible-core 2.16
- ansible: stable-2.16
python: '2.7'
- ansible: stable-2.16
python: '3.6'
- ansible: stable-2.16
Expand Down

0 comments on commit 2848036

Please sign in to comment.