Skip to content

Commit 266b6bb

Browse files
author
Raul Hidalgo Caballero
committed
test-release
1 parent e7fa6af commit 266b6bb

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.circleci/config.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,20 @@ jobs:
1212
- run: dotnet test --framework netcoreapp1.0 ./tests/GraphQL.Common.Tests/GraphQL.Common.Tests.csproj
1313
- run: dotnet test --framework netcoreapp1.0 ./tests/GraphQL.Client.Tests/GraphQL.Client.Tests.csproj
1414

15-
netcore2.0:
15+
test-release:
1616
working_directory: ~/GraphQL.Client/
1717
docker:
1818
- image: microsoft/dotnet:2-sdk
1919
steps:
2020
- checkout
2121

22-
# Test
23-
- run: dotnet test --framework netcoreapp2.0 ./tests/GraphQL.Common.Tests/GraphQL.Common.Tests.csproj
24-
- run: dotnet test --framework netcoreapp2.0 ./tests/GraphQL.Client.Tests/GraphQL.Client.Tests.csproj
22+
# Common
23+
- run: dotnet test --configuration Release --framework netcoreapp2.0 ./tests/GraphQL.Common.Tests/GraphQL.Common.Tests.csproj
24+
- run: dotnet test --configuration Release --framework netcoreapp2.1 ./tests/GraphQL.Common.Tests/GraphQL.Common.Tests.csproj
2525

26+
# Client
27+
- run: dotnet test --configuration Release --framework netcoreapp2.0 ./tests/GraphQL.Client.Tests/GraphQL.Client.Tests.csproj
28+
- run: dotnet test --configuration Release --framework netcoreapp2.1 ./tests/GraphQL.Client.Tests/GraphQL.Client.Tests.csproj
2629
deploy:
2730
working_directory: ~/GraphQL.Client/
2831
docker:
@@ -31,8 +34,9 @@ jobs:
3134
MY_GET_SOURCE: https://www.myget.org/F/graphql-dotnet/api/v3/index.json
3235
steps:
3336
- checkout
34-
35-
# Pack
37+
- run: dotnet restore
38+
- run: dotnet build
39+
- run: dotnet pack
3640
- run: dotnet build --configuration Release ./src/GraphQL.Common/GraphQL.Common.csproj
3741
- run: dotnet pack --configuration Release ./src/GraphQL.Common/GraphQL.Common.csproj
3842
- run: dotnet build --configuration Release ./src/GraphQL.Client/GraphQL.Client.csproj
@@ -58,8 +62,8 @@ workflows:
5862
build-test-and-deploy:
5963
jobs:
6064
- netcore1.0
61-
- netcore2.0
65+
- test-release
6266
- deploy:
6367
requires:
6468
- netcore1.0
65-
- netcore2.0
69+
- test-release

0 commit comments

Comments
 (0)