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

Commit ce77d3b

Browse files
Merge pull request #1 from undefinedlabs/documentation
Added documentation for Scope for Maven Action
2 parents bb3f0c2 + dcfb4dc commit ce77d3b

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1+
![logo](scope_logo.svg)
2+
13
# Scope for Maven Action
4+
5+
GitHub Action to run your tests automatically instrumented with the [Scope Java agent](http://home.undefinedlabs.com/goto/java-agent).
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@master
19+
- name: Set up JDK 1.8
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 1.8
23+
- name: Scope for Maven Action
24+
uses: undefinedlabs/scope-for-maven-action@v1
25+
with:
26+
dsn: ${{secrets.SCOPE_DSN}} # required
27+
run-tests: true # optional - default is 'true'
28+
command: mvn verify # optional - default is 'mvn verify'
29+
```

Scope.png

7.16 KB
Loading

0 commit comments

Comments
 (0)