Skip to content

upgrading python and packages #152

upgrading python and packages

upgrading python and packages #152

Workflow file for this run

# SPDX-FileCopyrightText: 2022 Renaissance Computing Institute. All rights reserved.
# SPDX-FileCopyrightText: 2023 Renaissance Computing Institute. All rights reserved.
# SPDX-FileCopyrightText: 2024 Renaissance Computing Institute. All rights reserved.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LicenseRef-RENCI
# SPDX-License-Identifier: MIT
name: Pylint the codebase
# trigger event is a push to the main repo branch (or a manual launch)
on:
workflow_dispatch:
push:
branches:
- main
# job definitions
jobs:
run_pylint:
name: Execute pylint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
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 pylint
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Pylint the codebase
run: |
pylint --rcfile=.pylintrc --recursive=y ./