Skip to content

Commit 5130c6b

Browse files
committed
Improve CI workflow and enhance orcli installation process
1 parent d36d004 commit 5130c6b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/CI.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
run: |
5757
python -m pip list
5858
59+
- name: Install CLI
60+
run: |
61+
python -m offsets-db-data-orcli install --move --destination /usr/local/bin
62+
python -m offsets-db-data-orcli --help
63+
5964
- name: Run tests
6065
run: |
6166
python -m pytest

offsets_db_data/openrefine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def install(
3131
"""
3232
Install orcli from GitHub.
3333
"""
34-
file_path = destination if move else 'orcli'
34+
file_path = f'{destination}/orcli' if move else 'orcli'
3535
abs_file_path = pathlib.Path(file_path).expanduser().resolve()
3636
filename = abs_file_path.as_posix()
3737
# Download orcli from GitHub

0 commit comments

Comments
 (0)