Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Sep 3, 2024
1 parent 02f3e0c commit 9412a32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/check-mark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,11 @@ jobs:
steps:
- name: Acknowledge Request
run: |
gh api -X PATCH -H "Accept: application/vnd.github+json" \
gh api -X POST -H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/databricks/databricks-sdk-go/check-runs/${{ inputs.check_run_id }} \
--input - <<- EOF
{
"conclusion": "failure",
"output": {
"title": "Integration Tests Failed",
"summary": "**Summary**: The tests failed."
}
}
EOF
/repos/databricks/databricks-sdk-go/statuses/${{ inputs.check_run_id }} \
-f 'status=success'
pr-comment:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion config/auth_default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

func TestErrCannotConfigureAuth(t *testing.T) {
env.CleanupEnvironment(t)

// random comment
w := databricks.Must(databricks.NewWorkspaceClient())
_, err := w.CurrentUser.Me(context.Background())
assert.True(t, errors.Is(err, config.ErrCannotConfigureAuth))
Expand Down

0 comments on commit 9412a32

Please sign in to comment.