Skip to content

Commit 9174f5e

Browse files
authored
Update docker-image.yml (#4)
1 parent 69f6f48 commit 9174f5e

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,8 @@ jobs:
3030
python -m pip install --upgrade pip
3131
pip install -r requirements.txt
3232
33-
# Step 2: Linting
34-
lint:
35-
runs-on: ubuntu-latest
36-
needs: build
37-
defaults:
38-
run:
39-
working-directory: app
40-
steps:
41-
- name: Checkout code
42-
uses: actions/checkout@v4
43-
44-
- name: Install flake8
45-
run: |
46-
pip install flake8
47-
flake8 . # Runs linter on all Python files
4833
49-
# Step 3: Testing
34+
# Step 2: Testing
5035
test:
5136
runs-on: ubuntu-latest
5237
needs: build
@@ -63,10 +48,10 @@ jobs:
6348
pip install pytest
6449
pytest # Run all tests in app/
6550
66-
# Step 4: Docker image build and push (optional)
51+
# Step 3: Docker image build and push (optional)
6752
docker:
6853
runs-on: ubuntu-latest
69-
needs: [lint, test]
54+
needs: [ test]
7055
steps:
7156
- name: Checkout code
7257
uses: actions/checkout@v4

0 commit comments

Comments
 (0)