Skip to content

Update pylint requirement from ~=2.17.5 to ~=3.0.0 #378

Update pylint requirement from ~=2.17.5 to ~=3.0.0

Update pylint requirement from ~=2.17.5 to ~=3.0.0 #378

Workflow file for this run

name: Build Python Package
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
tags:
- "v*"
paths:
- .github/workflows/build.yml
- '**.py'
- '**requirements.txt'
pull_request:
paths:
- .github/workflows/build.yml
- '**.py'
- '**requirements.txt'
jobs:
build-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- 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
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f setup_requirements.txt ]; then pip install -r setup_requirements.txt; fi
if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi
- name: Lint
run: |
make lint
- name: Test
run: |
make test
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage_html_report/**