Skip to content

Commit f9ecec7

Browse files
committed
try to fix test-release input format
1 parent 5f24eef commit f9ecec7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ inputs:
1515

1616
test-release:
1717
required: false
18-
description: "Boolean to specify if testing the latest released version of the package (true) or the editable one (false)."
19-
default: false
18+
description: "To specify if testing the latest released version of the package (true) or the editable one (false)."
19+
default: "false"
2020

2121
runs:
2222
using: "composite"
@@ -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 }} == false
87+
if: ${{ inputs.test-release }} == "false"
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 }} == true
91+
if: ${{ inputs.test-release }} == "true"
9292
run: |
9393
rm -r deeprank2
9494
pip install 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: false
48+
test-release: "false"
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
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
python-version: ${{ matrix.python-version }}
4747
extras-require: test, publishing
48-
test-release: true
48+
test-release: "true"
4949
- name: Run unit tests
5050
run: pytest -v
5151
- name: Verify that we can build the package

0 commit comments

Comments
 (0)