Skip to content

Commit b00c344

Browse files
authored
Update workflow.yml
1 parent 5b55273 commit b00c344

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/workflow.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ jobs:
2727
# Step 3: Lint the code with flake8
2828
- name: Lint with flake8
2929
run: |
30-
# Lint the service code
31-
flake8 ci_cd_final_project/service --count --select=E9,F63,F7,F82 --show-source --statistics
32-
flake8 ci_cd_final_project/service --count --max-complexity=10 --max-line-length=127 --statistics
33-
# Lint the tests folder
34-
flake8 ci_cd_final_project/tests --count --select=E9,F63,F7,F82 --show-source --statistics
35-
flake8 ci_cd_final_project/tests --count --max-complexity=10 --max-line-length=127 --statistics
30+
flake8 ci-cd-final-project/service --count --select=E9,F63,F7,F82 --show-source --statistics
31+
flake8 ci-cd-final-project/service --count --max-complexity=10 --max-line-length=127 --statistics
32+
flake8 ci-cd-final-project/tests --count --select=E9,F63,F7,F82 --show-source --statistics
33+
flake8 ci-cd-final-project/tests --count --max-complexity=10 --max-line-length=127 --statistics
3634
3735
# Step 4: Run unit tests with nose
3836
- name: Run unit tests with nose
3937
run: |
40-
nosetests -v --with-spec --spec-color --with-coverage --cover-package=ci_cd_final_project/service
38+
nosetests -v --with-spec --spec-color --with-coverage --cover-package=ci-cd-final-project/service

0 commit comments

Comments
 (0)