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:
14
14
- name : Install Dependencies
15
15
run : |
16
16
python -m pip install --upgrade pip
17
- pip install build
18
17
pip install pylint
19
- pip install -r requirements .txt
18
+ pip install -r requirements_test .txt
20
19
- name : Test API
21
20
run : |
22
21
pylint prismacloud/api
23
22
- name : Build
24
23
run : |
25
- python -m build
24
+ coverage run -m unittest discover -v -s "./tests" -p "test*.py"
26
25
- name : Publish
27
26
uses : pypa/gh-action-pypi-publish@release/v1
28
27
with :
Original file line number Diff line number Diff line change @@ -27,17 +27,12 @@ jobs:
27
27
run : |
28
28
python -m pip install --upgrade pip
29
29
pip install pylint
30
- pip install -r requirements.txt
31
- pip install build
30
+ pip install -r requirements_test.txt
32
31
33
32
- name : Test API
34
33
run : |
35
34
pylint prismacloud/api
36
35
37
36
- name : Test Scripts
38
37
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:
43
43
- name : Install Dependencies
44
44
run : |
45
45
python -m pip install --upgrade pip
46
- pip install build
47
46
pip install pylint
48
- pip install -r requirements .txt
47
+ pip install -r requirements_test .txt
49
48
- name : Test API
50
49
run : |
51
50
pylint prismacloud/api
52
- - name : Build
51
+ - name : Tests with coverage
53
52
run : |
54
- python -m build
53
+ coverage run -m unittest discover -v -s "./tests" -p "test*.py"
55
54
- name : Publish
56
55
uses : pypa/gh-action-pypi-publish@release/v1
57
56
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 1
1
coverage==7.6.10
2
2
responses==0.25.3
3
+ update_checker
You can’t perform that action at this time.
0 commit comments