File tree Expand file tree Collapse file tree 6 files changed +9
-15
lines changed
Expand file tree Collapse file tree 6 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,14 @@ jobs:
1414 - name : Install Dependencies
1515 run : |
1616 python -m pip install --upgrade pip
17- pip install build
1817 pip install pylint
19- pip install -r requirements .txt
18+ pip install -r requirements_test .txt
2019 - name : Test API
2120 run : |
2221 pylint prismacloud/api
2322 - name : Build
2423 run : |
25- python -m build
24+ coverage run -m unittest discover -v -s "./tests" -p "test*.py"
2625 - name : Publish
2726 uses : pypa/gh-action-pypi-publish@release/v1
2827 with :
Original file line number Diff line number Diff line change @@ -27,17 +27,12 @@ jobs:
2727 run : |
2828 python -m pip install --upgrade pip
2929 pip install pylint
30- pip install -r requirements.txt
31- pip install build
30+ pip install -r requirements_test.txt
3231
3332 - name : Test API
3433 run : |
3534 pylint prismacloud/api
3635
3736 - name : Test Scripts
3837 run : |
39- python -m build
40- # pip install dist/prismacloud_api-*
41- pip install dist/prismacloud_api-*.whl # Only install the wheel file
42- pip install -r scripts/requirements.txt
43- pylint scripts/*.py
38+ coverage run -m unittest discover -v -s "./tests" -p "test*.py"
Original file line number Diff line number Diff line change @@ -43,15 +43,14 @@ jobs:
4343 - name : Install Dependencies
4444 run : |
4545 python -m pip install --upgrade pip
46- pip install build
4746 pip install pylint
48- pip install -r requirements .txt
47+ pip install -r requirements_test .txt
4948 - name : Test API
5049 run : |
5150 pylint prismacloud/api
52- - name : Build
51+ - name : Tests with coverage
5352 run : |
54- python -m build
53+ coverage run -m unittest discover -v -s "./tests" -p "test*.py"
5554 - name : Publish
5655 uses : pypa/gh-action-pypi-publish@release/v1
5756 with :
Original file line number Diff line number Diff line change 1- version = "5.2.24 "
1+ version = "5.3.0 "
Original file line number Diff line number Diff line change 11coverage==7.6.10
22responses==0.25.3
3+ update_checker
You can’t perform that action at this time.
0 commit comments