diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index a4bdcb45..0faa6528 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -8,7 +8,10 @@ on: jobs: test: runs-on: ubuntu-latest + outputs: + job-summary: ${{ steps.job-summary.outputs.job-summary }} steps: + - name: Checkout - uses: actions/checkout@v4 - name: Set up Go @@ -16,6 +19,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 @@ -34,16 +42,23 @@ jobs: - name: Test uses: robherley/go-test-action@v0.4.1 + with: + testArguments: './... -race --timeout=10s' + - name: Generate summary - uses: austenstone/job-summary@v2.0 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 }} diff --git a/internal/connectors/db/yql/queries/read.go b/internal/connectors/db/yql/queries/read.go index f7460b2c..0e407fe8 100644 --- a/internal/connectors/db/yql/queries/read.go +++ b/internal/connectors/db/yql/queries/read.go @@ -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", } )