Skip to content

An starter ASP.NET Core + React project instrumented with Scope through GitHub Actions.

License

Notifications You must be signed in to change notification settings

scope-demo/scope-dotnet-aspnetcore-react-starter

Repository files navigation

Scope: Getting Started

An starter ASP.NET Core + React project instrumented with Scope through GitHub Actions.

This starter project is based on:

Install Scope on .NET Core projects with GitHub Actions

The scope-for-dotnet-action action has been configured in the GitHub Workflow scope.yml file:

name: Build and run Tests 
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 3.1.100
    - name: Build with dotnet
      run: dotnet build
    - name: Scope for .NET
      uses: undefinedlabs/scope-for-dotnet-action@v1
      with:
        dsn: ${{ secrets.SCOPE_DSN }}

For further information about how to install Scope, go to Scope .NET Agent Installation

Running Scope on GitHub Actions

  1. Click on Use this template button and create the repository in your namespace.
  2. Access to app.scope.dev and
  3. Add/Modify your namespace to include your new repository.
  4. Get the API Key for your new repository.
  5. Go to your repository on GitHub
  6. Go to Settings -> Secrets.
  7. Add your API Key secret.
    • Name: SCOPE_DSN
    • Value: https://<<your APIKEY>>@app.scope.dev
  8. Click on Actions button and access to the workflow.
  9. Click on Re-run checks.

Once GitHub Workflow has finished, you can check the test executions report on app.scope.dev

About

An starter ASP.NET Core + React project instrumented with Scope through GitHub Actions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published