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

Commit c206489

Browse files
authored
Readme update (#3)
* readme update * Update action.yml Co-Authored-By: Fernando Mayo <[email protected]> * adds logo
1 parent 9061471 commit c206489

File tree

3 files changed

+44
-5
lines changed

3 files changed

+44
-5
lines changed

README.md

+32-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# scope-for-dotnet-gh
2-
Scope for dotnet GitHub action
1+
![logo](scope_logo.svg)
2+
3+
# Scope for .NET
4+
5+
GitHub Action to run your tests automatically instrumented with the [Scope .NET agent](https://docs.scope.dev/docs/dotnet-installation).
6+
7+
## About Scope
8+
9+
[Scope](https://scope.dev) gives developers production-level visibility on every test for every app – spanning mobile, monoliths, and microservices.
10+
11+
## Usage
12+
13+
1. Set Scope DSN inside Settings > Secrets as `SCOPE_DSN`.
14+
2. Add a step to your GitHub Actions workflow YAML that uses this action:
15+
16+
```yml
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Setup .NET Core
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 3.0.100
23+
- name: Build with dotnet
24+
run: dotnet build
25+
- name: Scope for .NET
26+
uses: undefinedlabs/scope-for-dotnet-action@v1
27+
with:
28+
dsn: ${{secrets.SCOPE_DSN}} # required
29+
use-solutions: true # optional - default is 'true'
30+
command: dotnet test # optional - default is 'dotnet test'
31+
32+
```

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: 'scope-for-dotnet'
1+
name: 'Scope for .NET'
22
author: 'Undefined Labs'
3-
description: 'Scope agent for dotnet'
3+
description: 'Automatically instruments and runs your tests using the Scope .NET agent'
44
inputs:
55
command: # command to run inside the scope-run wrapper
66
description: 'Command to run inside the scope-run wrapper'
77
required: false
88
dsn: # scope dsn
9-
description: 'Scope dsn'
9+
description: 'Scope DSN'
1010
required: true
1111
use-solutions: # use solutions file
1212
description: 'Run the scope-run command from the solutions file folder'

0 commit comments

Comments
 (0)