Skip to content
check-square

GitHub Action

Scope for .NET

1.0.0 Latest version
Use latest version
check-square

Scope for .NET

Automatically instruments and runs your tests using the Scope .NET agent

Installation

Copy and paste the following snippet into your .yml file.

- name: Scope for .NET
  uses: undefinedlabs/scope-for-dotnet-action@1.0.0
Learn more about this action in undefinedlabs/scope-for-dotnet-action
Choose a version

logo

Scope for .NET

GitHub Action to run your tests automatically instrumented with the Scope .NET agent.

About Scope

Scope gives developers production-level visibility on every test for every app – spanning mobile, monoliths, and microservices.

Usage

  1. Set Scope DSN inside Settings > Secrets as SCOPE_DSN.
  2. Add a step to your GitHub Actions workflow YAML that uses this action:
steps:
  - uses: actions/checkout@v1
  - name: Setup .NET Core
    uses: actions/setup-dotnet@v1
    with:
      dotnet-version: 3.0.100
  - name: Build with dotnet
    run: dotnet build
  - name: Scope for .NET
    uses: undefinedlabs/scope-for-dotnet-action@v1
    with:
      dsn: ${{secrets.SCOPE_DSN}} # required
      use-solutions: true  # optional - default is 'true'
      command: dotnet test # optional - default is 'dotnet test'
      
You can’t perform that action at this time.