Skip to content

Commit d99bc80

Browse files
authored
Update workflow.yml
1 parent 081e3f4 commit d99bc80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,27 @@ jobs:
1212
container: python:3.9-slim
1313

1414
steps:
15+
# Checkout the repo
1516
- name: Checkout
1617
uses: actions/checkout@v3
1718

19+
# Install dependencies
1820
- name: Install dependencies
1921
run: |
2022
python -m pip install --upgrade pip
2123
pip install -r requirements.txt
2224
pip install flake8
2325
pip install nose
2426
27+
# Lint your code
2528
- name: Lint with flake8
2629
run: |
2730
flake8 ci_cd_final_project/service --count --select=E9,F63,F7,F82 --show-source --statistics
2831
flake8 ci_cd_final_project/service --count --max-complexity=10 --max-line-length=127 --statistics
2932
flake8 ci_cd_final_project/tests --count --select=E9,F63,F7,F82 --show-source --statistics
3033
flake8 ci_cd_final_project/tests --count --max-complexity=10 --max-line-length=127 --statistics
3134
35+
# Run unit tests with nose
3236
- name: Run unit tests with nose
3337
run: |
3438
nosetests -v --with-spec --spec-color --with-coverage --cover-package=ci_cd_final_project/service

0 commit comments

Comments
 (0)