Skip to content

Commit 645bd6d

Browse files
committed
change other pipelines to coverage
1 parent 7c18a6b commit 645bd6d

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/manual_release.yml

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

.github/workflows/pylint.yml

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

0 commit comments

Comments
 (0)