Skip to content

Update Pylint Score to 10 #237

Update Pylint Score to 10

Update Pylint Score to 10 #237

Workflow file for this run

name: build
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install pip==25.0
pip install pipenv==2024.4.1
# use --pre flag to enable use of prerelease package versions
pipenv install
pipenv install pytest==8.3.4 coverage==7.6.10
- name: Test with pytest
env:
# This token is provided by Actions,
# you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pipenv run coverage run -m pytest
pipenv run coverage xml -o coverage/python.xml