File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ jobs:
4747 - name : Restore dependencies
4848 run : dotnet restore ProtoActor.sln
4949
50+ - name : Build
51+ run : dotnet build ProtoActor.sln -c Release --no-restore
52+
5053 - name : Run tests ${{ matrix.test }}
5154 timeout-minutes : 15
5255 env :
5356 ConnectionStrings__Redis : localhost:${{ job.services.redis.ports[6379] }},syncTimeout=10000
5457 run : |
55- dotnet test ${{ matrix.test }} -c Release -f ${{ matrix.dotnet }} --logger GitHubActions
58+ dotnet test ${{ matrix.test }} -c Release -f ${{ matrix.dotnet }} --no-build --no-restore -- logger GitHubActions
5659
5760 test-fast : # fast tests where setting up a parallel job run is more overhead than just running the tests side by side
5861 runs-on : ubuntu-latest
@@ -81,10 +84,13 @@ jobs:
8184
8285 - name : Restore dependencies
8386 run : dotnet restore ProtoActor.sln
87+
88+ - name : Build
89+ run : dotnet build ProtoActor.sln -c Release --no-restore
8490 - name : Run tests ${{ matrix.test }}
8591 timeout-minutes : 15
8692 run : |
87- dotnet test ${{ matrix.test }} -c Release --logger GitHubActions
93+ dotnet test ${{ matrix.test }} -c Release --no-build --no-restore -- logger GitHubActions
8894
8995 nuget :
9096 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -76,12 +76,15 @@ jobs:
7676 - name : Restore dependencies
7777 run : dotnet restore ProtoActor.sln
7878
79+ - name : Build
80+ run : dotnet build ProtoActor.sln -c Release --no-restore
81+
7982 - name : Run tests ${{ matrix.test }}
8083 timeout-minutes : 15
8184 env :
8285 ConnectionStrings__Redis : localhost:${{ job.services.redis.ports[6379] }},syncTimeout=10000
8386 run : |
84- dotnet test ${{ matrix.test }} -c Release -f ${{ matrix.dotnet }} --logger GitHubActions
87+ dotnet test ${{ matrix.test }} -c Release -f ${{ matrix.dotnet }} --no-build --no-restore -- logger GitHubActions
8588
8689 test-fast : # fast tests where setting up a parallel job run is more overhead than just running the tests side by side
8790 runs-on : ubuntu-latest
@@ -110,7 +113,10 @@ jobs:
110113
111114 - name : Restore dependencies
112115 run : dotnet restore ProtoActor.sln
116+
117+ - name : Build
118+ run : dotnet build ProtoActor.sln -c Release --no-restore
113119 - name : Run tests ${{ matrix.test }}
114120 timeout-minutes : 15
115121 run : |
116- dotnet test ${{ matrix.test }} -c Release --logger GitHubActions
122+ dotnet test ${{ matrix.test }} -c Release --no-build --no-restore -- logger GitHubActions
You can’t perform that action at this time.
0 commit comments