From: Guillaume Abrioux Date: Tue, 13 Feb 2024 09:53:16 +0000 (+0100) Subject: tests: bump to py3.10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66337a361b0c6f5a780bbbef7e69f081ce6cded8;p=ceph-ansible.git tests: bump to py3.10 let's bump the python version to 3.10 in python-based github actions. Signed-off-by: Guillaume Abrioux --- diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 74ac7e094..6e833ed67 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -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 diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 7ea7cf9e0..fbf970db2 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -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/ diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 151d31bd9..1bca8ba07 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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