Skip to content

Commit

Permalink
🐛 add flake8 to gh
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjourne committed Oct 20, 2023
1 parent c1da812 commit 644a102
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/backend-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.7"
- name: Install dependencies
working-directory: ${{ env.APPLICATION }}
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f pavimafinance/requirements.txt ]; then pip install -r pavimafinance/requirements.txt; fi
if [ -f pavimafinance/requirements.txt ]; then pip install -e pavimafinance; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
2 changes: 1 addition & 1 deletion backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Launch test on iga open data [bonnes feuilles](https://www.interieur.gouv.fr/Pub
# launch backend application
`start.sh`

# Docker image is build with githubaction
# Docker image is build with githubactions

0 comments on commit 644a102

Please sign in to comment.