File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Integration tests
2
+
3
+ on :
4
+ push :
5
+
6
+ env :
7
+ config : Release
8
+
9
+ jobs :
10
+ integration-tests :
11
+ runs-on : windows-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Setup .NET Core
17
+ uses : actions/setup-dotnet@v1
18
+ with :
19
+ dotnet-version : 3.1.101
20
+
21
+ - name : Build using .NET Core
22
+ run : dotnet build Octokit.GraphQL.sln -c ${{ env.config }}
23
+
24
+ - name : Run integration tests
25
+ run : dotnet test -c ${{ env.config }} --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[Octokit.GraphQL]Octokit.GraphQL.*" .\Octokit.GraphQL.IntegrationTests\Octokit.GraphQL.IntegrationTests.csproj
26
+ env :
27
+ OCTOKIT_GQL_OAUTHTOKEN : " ${{ secrets.OCTOKIT_GQL_OAUTHTOKEN }}"
28
+ OCTOKIT_GQL_GITHUBUSERNAME : " ${{ secrets.OCTOKIT_GQL_GITHUBUSERNAME }}"
You can’t perform that action at this time.
0 commit comments