Skip to content

finding the path

finding the path #336

Workflow file for this run

name: Pylint
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.x]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y portaudio19-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyaudio-wheels
pip install -r requirements.txt --no-deps
pip install pylint
- name: Analysing the code with pylint and handling exit code
run: |
git submodule init
git submodule update
pylint --errors-only *.py $(git ls-files '*.py')
pylint_exit=$?
if [ $pylint_exit -eq 0 ]; then
echo "Pylint exited with code $pylint_exit"
else
echo "Pylint exited with code $pylint_exit"
exit 1
fi