Skip to content

Commit 7c18a6b

Browse files
committed
update the version and change the tests in pipeline to coverage
1 parent 390e57e commit 7c18a6b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.coverage

52 KB
Binary file not shown.

.github/workflows/pypi.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

prismacloud/api/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "5.2.24"
1+
version = "5.3.0"

requirements_test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
coverage==7.6.10
22
responses==0.25.3
3+
update_checker

0 commit comments

Comments
 (0)