Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ jobs:

# Trigger integration tests if the primary "test" target is triggered by this change.
- name: Trigger integration tests (pull request)
if: ${{ github.event_name == 'pull_request' && contains(fromJSON(needs.testmask.outputs.targets), 'test') }}
if: ${{ github.event_name == 'pull_request' && (contains(fromJSON(needs.testmask.outputs.targets), 'test') || contains(fromJSON(needs.testmask.outputs.targets), 'test-exp-ssh')) }}
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |-
Expand All @@ -400,7 +400,7 @@ jobs:
# Skip integration tests if the primary "test" target is not triggered by this change.
# Use Checks API (not Statuses API) to match the required "Integration Tests" check.
- name: Skip integration tests (pull request)
if: ${{ github.event_name == 'pull_request' && !contains(fromJSON(needs.testmask.outputs.targets), 'test') }}
if: ${{ github.event_name == 'pull_request' && !contains(fromJSON(needs.testmask.outputs.targets), 'test') && !contains(fromJSON(needs.testmask.outputs.targets), 'test-exp-ssh') }}
uses: actions/github-script@v8
with:
script: |
Expand Down
1 change: 1 addition & 0 deletions acceptance/ssh/connect-serverless-gpu/out.stdout.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Connection successful
9 changes: 9 additions & 0 deletions acceptance/ssh/connect-serverless-gpu/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
6 changes: 6 additions & 0 deletions acceptance/ssh/connect-serverless-gpu/script
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
errcode $CLI ssh connect --name serverless-gpu-test --accelerator=GPU_1xA10 --releases-dir=$CLI_RELEASES_DIR -- "echo 'Connection successful'" >out.stdout.txt 2>LOG.stderr

if ! grep -q "Connection successful" out.stdout.txt; then
run_id=$(cat LOG.stderr | grep -o "Job submitted successfully with run ID: [0-9]*" | grep -o "[0-9]*$")
trace $CLI jobs get-run "$run_id" > LOG.job
fi
12 changes: 12 additions & 0 deletions acceptance/ssh/connect-serverless-gpu/test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Local = false
Cloud = true

# Serverless GPU is only available in newer environments
RequiresUnityCatalog = true

# Serverless GPU is not available in GCP yet
[CloudEnvs]
gcp = false

[EnvMatrix]
DATABRICKS_BUNDLE_ENGINE = ["direct"]