This repository has been archived by the owner on Aug 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* readme update * Update action.yml Co-Authored-By: Fernando Mayo <[email protected]> * adds logo
- Loading branch information
1 parent
9061471
commit c206489
Showing
3 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# scope-for-dotnet-gh | ||
Scope for dotnet GitHub action | ||
![logo](scope_logo.svg) | ||
|
||
# Scope for .NET | ||
|
||
GitHub Action to run your tests automatically instrumented with the [Scope .NET agent](https://docs.scope.dev/docs/dotnet-installation). | ||
|
||
## About Scope | ||
|
||
[Scope](https://scope.dev) 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: | ||
|
||
```yml | ||
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' | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.