Skip to content

Commit 3dc613a

Browse files
committed
fix
1 parent 23e8d4c commit 3dc613a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,19 @@ jobs:
128128
WHEEL_NAME=$(ls dist/*.whl)
129129
pip install --verbose ${WHEEL_NAME}[test]
130130
131+
- name: "Add TileDB to PATH (custom build only)"
132+
if: inputs.libtiledb_ref
133+
run: echo "${{ github.workspace }}/_tiledb_core/dist/bin" >> $GITHUB_PATH
134+
131135
- name: "Run tests"
132136
run: |
133-
if [ -n "${{ inputs.libtiledb_ref }}" ]; then
134-
export PATH="${GITHUB_WORKSPACE//\\//}/_tiledb_core/dist/bin:$PATH"
135-
fi
136137
PROJECT_CWD=$PWD
137138
rm tiledb/__init__.py
138139
cd /tmp
139140
pytest -vv --showlocals $PROJECT_CWD
140141
141142
- name: "Re-run tests without pandas"
142143
run: |
143-
if [ -n "${{ inputs.libtiledb_ref }}" ]; then
144-
export PATH="${GITHUB_WORKSPACE//\\//}/_tiledb_core/dist/bin:$PATH"
145-
fi
146144
pip uninstall -y pandas
147145
pytest -vv --showlocals $PROJECT_CWD
148146

0 commit comments

Comments
 (0)