Skip to content

Bump python version to 3.10 for e2e flow #336

Bump python version to 3.10 for e2e flow

Bump python version to 3.10 for e2e flow #336

Workflow file for this run

name: Lint
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Lint with flake8
run: |
flake8 sriov --count --select=E,C,F,W --ignore W503 --max-complexity=15 \
--max-line-length=88 --show-source --statistics