adding site branding names and functionality #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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.12"] | |
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 ./ |