Skip to content

Commit 469139f

Browse files
committed
rename test-release input to pkg-installation-type
1 parent 974cb60 commit 469139f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/actions/install-python-and-package/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
description: "The extras dependencies packages to be installed, for instance 'dev' or 'dev,publishing,notebooks'."
1414
default: "test"
1515

16-
test-release:
16+
pkg-installation-type:
1717
required: false
1818
description: "To specify if testing the latest released version of the package (true) or the editable one (false)."
1919
default: "editable"
@@ -84,11 +84,11 @@ runs:
8484
conda install pytables
8585
- name: Install the editable version of the package
8686
shell: bash {0}
87-
if: ${{ inputs.test-release == 'editable' }}
87+
if: ${{ inputs.pkg-installation-type == 'editable' }}
8888
run: pip install .'[${{ inputs.extras-require }}]'
8989
- name: Install the latest released version of the package
9090
shell: bash {0}
91-
if: ${{ inputs.test-release == 'latest' }}
91+
if: ${{ inputs.pkg-installation-type == 'latest' }}
9292
run: |
9393
pip install pytest
9494
rm -r deeprank2

.github/workflows/build-editable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
python-version: ${{ matrix.python-version }}
4747
extras-require: test, publishing
48-
test-release: "editable"
48+
pkg-installation-type: "editable"
4949
- name: Run unit tests
5050
run: pytest -v
5151
- name: Verify that we can build the package

.github/workflows/build-latest-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
- uses: ./.github/actions/install-python-and-package
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
test-release: "latest"
26+
pkg-installation-type: "latest"
2727
- name: Run unit tests
2828
run: pytest -v

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
extras-require: publishing
26-
test-release: "editable"
26+
pkg-installation-type: "editable"
2727
- name: Build wheel and source distribution
2828
run: python -m build
2929
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)