File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
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"
You can’t perform that action at this time.
0 commit comments