]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
workflows: test against 1 python version only
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Jun 2021 23:24:36 +0000 (01:24 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 Jun 2021 06:17:40 +0000 (08:17 +0200)
Let's drop py3.6 and py3.7

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d191ba38d3bc47d4cff29a70f1386b0011a64543)

.github/workflows/ansible-lint.yml

index 5b5ea18883bc1323893d49406e588ea19b96f8da..78705bb8c7db158ad2d19969669377d45113eb98 100644 (file)
@@ -3,16 +3,12 @@ on: [pull_request]
 jobs:
   build:
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        python-version: [ '3.6', '3.7', '3.8' ]
-    name: Python ${{ matrix.python-version }}
     steps:
       - uses: actions/checkout@v2
       - name: Setup python
         uses: actions/setup-python@v2
         with:
-          python-version: ${{ matrix.python-version }}
+          python-version: '3.8'
           architecture: x64
       - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7 netaddr
       - run: ansible-lint -x 106,204,205,208 -v --force-color ./roles/*/ ./infrastructure-playbooks/*.yml site-container.yml.sample site-container.yml.sample