]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: bump to py3.10
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 13 Feb 2024 09:53:16 +0000 (10:53 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 14 Feb 2024 08:54:13 +0000 (09:54 +0100)
let's bump the python version to 3.10 in python-based
github actions.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
.github/workflows/ansible-lint.yml
.github/workflows/flake8.yml
.github/workflows/pytest.yml

index 74ac7e094e624e91ae6704c7de8c951e59bb228f..6e833ed6763bfe8175d431249ef5ca9ae2afb1fd 100644 (file)
@@ -8,7 +8,7 @@ jobs:
       - name: Setup python
         uses: actions/setup-python@v2
         with:
-          python-version: '3.9'
+          python-version: '3.10'
           architecture: x64
       - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==6.16.0 netaddr
       - run: ansible-galaxy install -r requirements.yml
index 7ea7cf9e0bbfe2c685be90ecc0ee192f93be3a9e..fbf970db27a27dc991998de47d13116e8fbe91e8 100644 (file)
@@ -18,7 +18,7 @@ jobs:
       - name: Setup python
         uses: actions/setup-python@v2
         with:
-          python-version: 3.8
+          python-version: '3.10'
           architecture: x64
       - run: pip install flake8
       - run: flake8 --max-line-length 160 ./library/ ./module_utils/ ./plugins/filter/ ./tests/library/ ./tests/module_utils/ ./tests/plugins/filter/ ./tests/conftest.py ./tests/functional/tests/
index 151d31bd9961d4b9c7d3ca2777f236412e60a87e..1bca8ba07d857dcfa304bade5efcf1bba45feddc 100644 (file)
@@ -13,7 +13,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [3.9]
+        python-version: '3.10'
     name: Python ${{ matrix.python-version }}
     steps:
       - uses: actions/checkout@v2