Skip to content

Commit

Permalink
Merge pull request #852 from mfriesenegger/update-unit-test-python-ve…
Browse files Browse the repository at this point in the history
…rsion

Update Pull Request Check Test python version
  • Loading branch information
mfriesenegger authored Jan 31, 2025
2 parents 79743b5 + e09ed90 commit 34ae82c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ on:
branches: [ master ]
jobs:
python:
name: python checks ${{ matrix.python }} ${{ matrix.os }}
name: python checks ${{ matrix.python-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7]
python-version: ['3.11']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -24,4 +24,4 @@ jobs:
- name: PEP8
run: tox -e pep8
- name: unit test
run: tox -e py37
run: tox -e py311
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ commands = flake8

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

[testenv:docs]
Expand Down

0 comments on commit 34ae82c

Please sign in to comment.