Commit 3dc2d99 1 parent bba34e3 commit 3dc2d99 Copy full SHA for 3dc2d99
File tree 6 files changed +6
-8
lines changed
actions/install-python-and-package
6 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ inputs:
16
16
test-release :
17
17
required : false
18
18
description : " To specify if testing the latest released version of the package (true) or the editable one (false)."
19
- default : " false "
19
+ default : " editable "
20
20
21
21
runs :
22
22
using : " composite"
@@ -84,11 +84,11 @@ runs:
84
84
conda install pytables
85
85
- name : Install the editable version of the package
86
86
shell : bash {0}
87
- if : ${{ inputs.test-release == false }}
87
+ if : ${{ inputs.test-release == 'editable' }}
88
88
run : pip install .'[${{ inputs.extras-require }}]'
89
89
- name : Install the latest released version of the package
90
90
shell : bash {0}
91
- if : ${{ inputs.test-release == true }}
91
+ if : ${{ inputs.test-release == 'latest' }}
92
92
run : |
93
93
rm -r deeprank2
94
94
pip install deeprank2
Original file line number Diff line number Diff line change 45
45
with :
46
46
python-version : ${{ matrix.python-version }}
47
47
extras-require : test, publishing
48
- test-release : " false "
48
+ test-release : " editable "
49
49
- name : Run unit tests
50
50
run : pytest -v
51
51
- name : Verify that we can build the package
Original file line number Diff line number Diff line change 45
45
with :
46
46
python-version : ${{ matrix.python-version }}
47
47
extras-require : test, publishing
48
- test-release : " true "
48
+ test-release : " latest "
49
49
- name : Run unit tests
50
50
run : pytest -v
51
51
- name : Verify that we can build the package
Original file line number Diff line number Diff line change 45
45
with :
46
46
python-version : ${{ matrix.python-version }}
47
47
extras-require : test
48
- test-release : false
49
48
- name : Run unit tests with coverage
50
49
run : pytest --cov --cov-append --cov-report xml --cov-fail-under=80 --cov-report term --cov-report html
51
50
- name : Coveralls
Original file line number Diff line number Diff line change 45
45
with :
46
46
python-version : ${{ matrix.python-version }}
47
47
extras-require : test
48
- test-release : false
49
48
- name : Check style against standards using ruff
50
49
run : ruff .
Original file line number Diff line number Diff line change 23
23
with :
24
24
python-version : ${{ matrix.python-version }}
25
25
extras-require : publishing
26
- test-release : false
26
+ test-release : " editable "
27
27
- name : Build wheel and source distribution
28
28
run : python -m build
29
29
- uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments