Skip to content

Commit fcaf13c

Browse files
author
Javier de Silóniz Sandino
committed
Updating docs to reflect the use of GitHub access tokens to perform tests
1 parent 8ba724e commit fcaf13c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/src/main/tut/docs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,10 @@ object ProgramEval extends github4s.ImplicitsJVM {
130130
ProgramEval.user1 should be ('right)
131131
ProgramEval.user1.toOption map (_.result.login shouldBe "rafaparadela")
132132
```
133+
134+
# Test credentials
135+
136+
Note that for github4s to have access to the GitHub API during the test phases, you need to provide a valid access token with the right credentials (i.e.: users + gists scopes), through the sbt configuration variable "token":
137+
138+
sbt -Dtoken=ACCESS_TOKEN_STRING
139+
```

0 commit comments

Comments
 (0)