Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit comment on why we add ~/bin in test to PATH in the test workflow #91

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ jobs:
with:
path: ./setup-cli

# Append ~/bin to the PATH. This helps with the assertions in the next steps.
- run: echo "PATH=$PATH:$HOME/bin" >> $GITHUB_ENV
# When run on DBR, the installation scripts installs the CLI to ~/bin. Add
# it to $PATH to make assertions work.
- run: echo "$HOME/bin" >> $GITHUB_PATH

- name: Assert databricks CLI is not already installed
run: ./setup-cli/assert/not-installed.sh
Expand Down Expand Up @@ -185,8 +186,9 @@ jobs:
with:
path: ./setup-cli

# Append ~/bin to the PATH. This helps with the assertions in the next steps.
- run: echo "PATH=$PATH:$HOME/bin" >> $GITHUB_ENV
# When run on DBR, the installation scripts installs the CLI to ~/bin. Add
# it to $PATH to make assertions work.
- run: echo "$HOME/bin" >> $GITHUB_PATH

- name: Assert databricks CLI is not already installed
run: ./setup-cli/assert/not-installed.sh
Expand Down
Loading