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

read operations fix #45

Merged
merged 1 commit into from
Aug 22, 2024
Merged
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
18 changes: 16 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
outputs:
job-summary: ${{ steps.job-summary.outputs.job-summary }}
steps:
- uses: actions/checkout@v4

Expand All @@ -16,6 +18,11 @@ jobs:
with:
go-version-file: go.mod

- name: Cache go modules
uses: magnetikonline/action-golang-cache@v5
with:
go-version-file: go.mod

- name: Install Protoc
uses: arduino/setup-protoc@v3

Expand All @@ -34,16 +41,23 @@ jobs:

- name: Test
uses: robherley/[email protected]
with:
testArguments: './... -race --timeout=10s'

- uses: austenstone/[email protected]
- name: Generate summary
uses: austenstone/[email protected]
id: job-summary
with:
create-pdf: false

comment-pr:
runs-on: ubuntu-latest
needs: test
steps:
- name: Comment on PR
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.job-summary.outputs.job-summary }}
body: ${{ needs.test.outputs.job-summary }}
2 changes: 1 addition & 1 deletion internal/connectors/db/yql/queries/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
AllOperationFields = []string{
"id", "type", "container_id", "database", "endpoint", "backup_id",
"initiated", "created_at", "completed_at", "status", "message",
"paths", "operation_id",
"paths", "operation_id", "paths_to_exclude",
}
)

Expand Down
Loading