Skip to content

Commit

Permalink
tests: bump to py3.10
Browse files Browse the repository at this point in the history
let's bump the python version to 3.10 in python-based
github actions.

Signed-off-by: Guillaume Abrioux <[email protected]>
(cherry picked from commit 66337a3)
  • Loading branch information
guits committed Mar 8, 2024
1 parent ecea04d commit b5ccd1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
architecture: x64
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7 'rich>=9.5.1,<11.0.0' netaddr
- run: ansible-galaxy install -r requirements.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: '3.10'
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit b5ccd1c

Please sign in to comment.