@@ -39,25 +39,25 @@ jobs:
3939 run : sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
4040
4141 - name : Install python requirements
42- run : python -m pip install -r packaging_automation/requirements.txt
42+ run : coverage run -m pytest pip install -r packaging_automation/requirements.txt
4343
4444 - name : Run static code analysis
45- run : python -m prospector
45+ run : coverage run -m pytest prospector
4646
4747 - name : Unit tests for "Common tools"
48- run : python -m pytest -q packaging_automation/tests/test_common_tool_methods.py
48+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_common_tool_methods.py
4949
5050 - name : Unit tests for "Update Package Properties"
51- run : python -m pytest -q packaging_automation/tests/test_update_package_properties.py
51+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_update_package_properties.py
5252
5353 - name : Unit tests for "Prepare Release"
54- run : python -m pytest -q packaging_automation/tests/test_prepare_release.py
54+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_prepare_release.py
5555
5656 - name : Unit tests for "Update Docker"
57- run : python -m pytest -q packaging_automation/tests/test_update_docker.py
57+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_update_docker.py
5858
5959 - name : Unit tests for "Update Pgxn"
60- run : python -m pytest -q packaging_automation/tests/test_update_pgxn.py
60+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_update_pgxn.py
6161
6262 - name : Packaging Warning Handler
63- run : python -m pytest -q packaging_automation/tests/test_packaging_warning_handler.py
63+ run : coverage run -m pytest pytest -q packaging_automation/tests/test_packaging_warning_handler.py
0 commit comments