Skip to content

chore(deps): update dependency pylint to v3.3.3 #494

chore(deps): update dependency pylint to v3.3.3

chore(deps): update dependency pylint to v3.3.3 #494

Workflow file for this run

name: Python CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pipenv
run: pip install pipenv
- name: Cache virtual environment
uses: actions/cache@v4
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
- name: Install dependencies
run: pipenv install --dev
- name: Lint
run: |
pipenv run pylint scripts && \
pipenv run pylint tests/*.py && \
pipenv run pylint package.py
- name: Test
run: pipenv run pytest
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3