Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

undefinedlabs/scope-for-dotnet-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'