Skip to content

Commit 273b9b4

Browse files
authored
Merge pull request danielgerlag#964 from SergiiKram/fix-github-actions
Fix GitHub actions build.
2 parents ab004c0 + 8191dba commit 273b9b4

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 5.0.*
19+
dotnet-version: 3.1.*
2020
- name: Restore dependencies
2121
run: dotnet restore
2222
- name: Build
2323
run: dotnet build --no-restore
2424
- name: Unit Tests
25-
run: dotnet test test/WorkflowCore.UnitTests --no-build --verbosity normal
25+
run: dotnet test test/WorkflowCore.UnitTests --no-build --verbosity normal -p:ParallelizeTestCollections=false
2626
- name: Integration Tests
27-
run: dotnet test test/WorkflowCore.IntegrationTests --no-build --verbosity normal
27+
run: dotnet test test/WorkflowCore.IntegrationTests --no-build --verbosity normal -p:ParallelizeTestCollections=false
2828
- name: PostgreSQL Tests
29-
run: dotnet test test/WorkflowCore.Tests.PostgreSQL --no-build --verbosity normal
29+
run: dotnet test test/WorkflowCore.Tests.PostgreSQL --no-build --verbosity normal -p:ParallelizeTestCollections=false
3030
- name: Redis Tests
31-
run: dotnet test test/WorkflowCore.Tests.Redis --no-build --verbosity normal
31+
run: dotnet test test/WorkflowCore.Tests.Redis --no-build --verbosity normal -p:ParallelizeTestCollections=false
3232
- name: SQL Server Tests
33-
run: dotnet test test/WorkflowCore.Tests.SqlServer --no-build --verbosity normal
33+
run: dotnet test test/WorkflowCore.Tests.SqlServer --no-build --verbosity normal -p:ParallelizeTestCollections=false
3434
- name: Elasticsearch Tests
35-
run: dotnet test test/WorkflowCore.Tests.Elasticsearch --no-build --verbosity normal
35+
run: dotnet test test/WorkflowCore.Tests.Elasticsearch --no-build --verbosity normal -p:ParallelizeTestCollections=false

src/WorkflowCore/WorkflowCore.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
2727
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
2828
<PackageReference Include="System.Linq.Queryable" Version="4.3.0" />
29-
<InternalsVisibleTo Include="WorkflowCore.IntegrationTests" />
29+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
30+
<_Parameter1>WorkflowCore.IntegrationTests</_Parameter1>
31+
</AssemblyAttribute>
3032
</ItemGroup>
3133

3234
<ItemGroup>

0 commit comments

Comments
 (0)