Skip to content

Commit a7c7496

Browse files
authored
Update python-app.yml
add all linting tests
1 parent f245697 commit a7c7496

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/python-app.yml

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ jobs:
2222
- name: Run Black Linter
2323
run: |
2424
black --check .
25+
- name: Lint Dockerfiles
26+
continue-on-error: true # Continue workflow even if linting fails
27+
run: |
28+
echo "Linting Dockerfile.app:"
29+
docker run --rm -i hadolint/hadolint < Dockerfile.app || true
30+
echo "-------------------"
31+
echo "Linting Dockerfile.ollama:"
32+
docker run --rm -i hadolint/hadolint < Dockerfile.ollama || true
2533
2634
build-and-test:
2735
needs: lint

0 commit comments

Comments
 (0)