fix: legacy_app dockerfile paths #14
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: Dashboard App | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: Debug Information | |
run: | | |
echo "Current directory:" | |
pwd | |
echo "\nDirectory structure:" | |
ls -R | |
echo "\nGit root directory:" | |
git rev-parse --show-toplevel | |
echo "\nSearching for Python files:" | |
find . -name "*.py" | |
echo "\nGit ls-files output:" | |
git ls-files | |
echo "\nSpecific path search:" | |
git ls-files 'dashboard_app/*.py' | |
git ls-files './dashboard_app/*.py' | |
git ls-files 'apps/dashboard_app/*.py' | |
git ls-files './apps/dashboard_app/*.py' | |
- name: Run Pylint | |
run: | | |
files=$(git ls-files 'dashboard_app/*.py') | |
if [ -n "$files" ]; then | |
pylint $files --disable=all --enable=C0114,C0115,C0116,C0301 | |
fi |