Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
add all linting tests
  • Loading branch information
Shuyib authored Nov 29, 2024
1 parent f245697 commit a7c7496
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
- name: Run Black Linter
run: |
black --check .
- name: Lint Dockerfiles
continue-on-error: true # Continue workflow even if linting fails
run: |
echo "Linting Dockerfile.app:"
docker run --rm -i hadolint/hadolint < Dockerfile.app || true
echo "-------------------"
echo "Linting Dockerfile.ollama:"
docker run --rm -i hadolint/hadolint < Dockerfile.ollama || true
build-and-test:
needs: lint
Expand Down

0 comments on commit a7c7496

Please sign in to comment.