Skip to content

Commit 34ae82c

Browse files
Merge pull request openmainframeproject#852 from mfriesenegger/update-unit-test-python-version
Update Pull Request Check Test python version
2 parents 79743b5 + e09ed90 commit 34ae82c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ on:
44
branches: [ master ]
55
jobs:
66
python:
7-
name: python checks ${{ matrix.python }} ${{ matrix.os }}
7+
name: python checks ${{ matrix.python-version }} ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest]
12-
python-version: [3.7]
12+
python-version: ['3.11']
1313

1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v1
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies
@@ -24,4 +24,4 @@ jobs:
2424
- name: PEP8
2525
run: tox -e pep8
2626
- name: unit test
27-
run: tox -e py37
27+
run: tox -e py311

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ commands = flake8
2121

2222
[flake8]
2323
max-line-length = 120
24-
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,W504,W605
24+
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,E721,H405,W504,W605
2525
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,sample,*lib/python*,*egg,build,tools,*.py.*.py
2626

2727
[testenv:docs]

0 commit comments

Comments
 (0)