Skip to content

Golang tests are not reported #64

Description

@epot

I am trying to move away from our custom junit tests reporting in favor of orchestrion, but I didn't manage to make it work.
I am pretty sure I am doing something wrong, but here is a snippet of my gh workflow:

    - name: Install dep
      run: |
        go install github.com/DataDog/orchestrion@v1.9.0
      shell: bash

    - name: Configure Datadog Test Optimization
      uses: datadog/test-visibility-github-action@ef8406bf5f987037fcbe3bf8ecf023f5dd1f9e36 # v2.8.0
      with:
        languages: go
        api_key: ${{ secrets.DD_API_KEY }}
        site: datadoghq.com # Change if your site is not US1

    - name: Test
      run: |
         # this uses a golang script that ends up calling `go test` at some point

I don't see anything in Datadog. When is the test upload supposed to happen exactly? In the cleanup of "Configure Datadog Test Optimization"? Can I turn on verbose logs to figure it out?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions