Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .coverage
Binary file not shown.
5 changes: 2 additions & 3 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install pylint
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Test API
run: |
pylint prismacloud/api
- name: Build
run: |
python -m build
coverage run -m unittest discover -v -s "./tests" -p "test*.py"
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
pip install build
pip install -r requirements_test.txt

- name: Test API
run: |
pylint prismacloud/api

- name: Test Scripts
run: |
python -m build
# pip install dist/prismacloud_api-*
pip install dist/prismacloud_api-*.whl # Only install the wheel file
pip install -r scripts/requirements.txt
pylint scripts/*.py
coverage run -m unittest discover -v -s "./tests" -p "test*.py"
7 changes: 3 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install pylint
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Test API
run: |
pylint prismacloud/api
- name: Build
- name: Tests with coverage
run: |
python -m build
coverage run -m unittest discover -v -s "./tests" -p "test*.py"
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
2 changes: 1 addition & 1 deletion prismacloud/api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "5.2.24"
version = "5.3.0"
1 change: 1 addition & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage==7.6.10
responses==0.25.3
update_checker