Skip to content

Replace localhost with dut or trafficgen IPs, add firmware mount, and pull driver for trafficgen reset #340

Replace localhost with dut or trafficgen IPs, add firmware mount, and pull driver for trafficgen reset

Replace localhost with dut or trafficgen IPs, add firmware mount, and pull driver for trafficgen reset #340

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