An starter ASP.NET Core + React project instrumented with Scope through GitHub Actions.
This starter project is based on:
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
- Click on
Use this template
button and create the repository in your namespace. - Access to app.scope.dev and
- Add/Modify your namespace to include your new repository.
- Get the API Key for your new repository.
- Go to your repository on GitHub
- Go to
Settings
->Secrets
. - Add your API Key secret.
- Name:
SCOPE_DSN
- Value:
https://<<your APIKEY>>@app.scope.dev
- Name:
- Click on
Actions
button and access to the workflow. - Click on
Re-run checks
.
Once GitHub Workflow has finished, you can check the test executions report on app.scope.dev