Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python 2.7 from sanity tests #6

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading