fix test path #129
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
name: PyLint Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
gitHubActionForPylint: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: \{\{cookiecutter.project_slug\}\} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11.5 | |
- name: Install dependencies | |
run: | | |
echo "upgrade pip" | |
python -m pip install --upgrade pip | |
echo "install requirements_dev.txt" | |
pip install -r requirements_dev.txt | |
echo "install pylint" | |
pip install pylint | |
- name: Run pylint | |
run: | | |
echo "pwd" | |
pwd | |
echo "ls -la" | |
ls -la | |
echo "cd \{\{cookiecutter.project_slug\}\}" | |
cd \{\{cookiecutter.project_slug\}\} | |
echo "install more requirements" | |
pip install -r ./adapter/requirements_prd.txt | |
pip install -r ./cache/requirements_prd.txt | |
pip install -r ./spot/requirements/base.txt | |
echo "start pylint" | |
pylint --rcfile=.pylintrc --errors-only adapter cache spot ui | |
echo "end pylint" |