diff --git a/.github/workflows/plugins-integration.yml b/.github/workflows/plugins-integration.yml index 2f3197a6d..95d67918b 100644 --- a/.github/workflows/plugins-integration.yml +++ b/.github/workflows/plugins-integration.yml @@ -32,26 +32,7 @@ jobs: - stable-2.14 - devel python: - - 2.7 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - - 3.6 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - 3.9 - exclude: - - ansible: devel - python: 2.7 - - ansible: devel - python: 3.6 - - ansible: stable-2.12 - python: 2.7 - - ansible: stable-2.12 - python: 3.6 - - ansible: stable-2.13 - python: 2.7 - - ansible: stable-2.13 - python: 3.6 - - ansible: stable-2.14 - python: 2.7 - - ansible: stable-2.14 - python: 3.6 steps: - name: Check out code diff --git a/.github/workflows/repo-sanity.yml b/.github/workflows/repo-sanity.yml index 446f2f9d5..98954a82f 100644 --- a/.github/workflows/repo-sanity.yml +++ b/.github/workflows/repo-sanity.yml @@ -10,8 +10,6 @@ jobs: strategy: matrix: python: - - 2.7 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - - 3.6 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - 3.9 runs-on: ubuntu-latest steps: @@ -28,11 +26,6 @@ jobs: - name: Install dependencies run: pip install flake8 tox - - name: Run lint test for py2 - run: tox -elinters-py2 -vv - working-directory: ./ansible_collections/community/zabbix - if: matrix.python == '2.7' - - name: Run lint test for py3 run: tox -elinters-py3 -vv working-directory: ./ansible_collections/community/zabbix @@ -52,26 +45,7 @@ jobs: - stable-2.14 - devel python: - - 2.7 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - - 3.6 # required by Ansible see https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#python-compatibility - 3.9 - exclude: - - ansible: devel - python: 2.7 - - ansible: devel - python: 3.6 - - ansible: stable-2.12 - python: 2.7 - - ansible: stable-2.12 - python: 3.6 - - ansible: stable-2.13 - python: 2.7 - - ansible: stable-2.13 - python: 3.6 - - ansible: stable-2.14 - python: 2.7 - - ansible: stable-2.14 - python: 3.6 runs-on: ubuntu-latest steps: # ansible-test requires the collection to be in a directory in the form