Skip to content

Commit ca95ad1

Browse files
Update CI/CD
1 parent 8f8a6d1 commit ca95ad1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/run_test.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip && pip install -r requirements.txt
26-
- name: Test with pytest
26+
- name: Test with pytest & Generate Coverage Report
2727
run: |
28-
pip install pytest && pytest test_app_cicd.py
29-
continue-on-error: true
30-
- name: Generate Coverage Report
31-
run: |
32-
pip install coverage && coverage report -m
28+
pip install pytest coverage
29+
coverage run --append --source=pytest test_app_cicd.py
30+
coverage report -m

0 commit comments

Comments
 (0)