mirror of https://github.com/ceph/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 <gabrioux@ibm.com>pull/7474/head
parent
37a82225f7
commit
66337a361b
|
@ -8,7 +8,7 @@ jobs:
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
python-version: '3.10'
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==6.16.0 netaddr
|
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==6.16.0 netaddr
|
||||||
- run: ansible-galaxy install -r requirements.yml
|
- run: ansible-galaxy install -r requirements.yml
|
||||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: '3.10'
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- run: pip install flake8
|
- 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/
|
- 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/
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.9]
|
python-version: '3.10'
|
||||||
name: Python ${{ matrix.python-version }}
|
name: Python ${{ matrix.python-version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue