Skip to content

Commit 334d0bb

Browse files
authored
Merge pull request mxcl#1218 from mxcl/ci/parallel
[ci] test in parallel
2 parents 5e32722 + e7d6dda commit 334d0bb

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v2
4747
- run: swift build -Xswiftc -warnings-as-errors -Xswiftc -swift-version -Xswiftc 4
4848
- run: swift build -Xswiftc -warnings-as-errors -Xswiftc -swift-version -Xswiftc 4.2
49-
- run: swift test --enable-code-coverage
49+
- run: swift test --enable-code-coverage --parallel
5050

5151
- name: Generate Coverage Report
5252
if: ${{ matrix.swift != '5.4.1' }} # fails for SOME REASON

PromiseKit.xcodeproj/xcshareddata/xcschemes/PromiseKit.xcscheme

+15-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
</CodeCoverageTargets>
4141
<Testables>
4242
<TestableReference
43-
skipped = "NO">
43+
skipped = "NO"
44+
parallelizable = "YES"
45+
testExecutionOrdering = "random">
4446
<BuildableReference
4547
BuildableIdentifier = "primary"
4648
BlueprintIdentifier = "630019011D596292003B4E30"
@@ -50,7 +52,9 @@
5052
</BuildableReference>
5153
</TestableReference>
5254
<TestableReference
53-
skipped = "NO">
55+
skipped = "NO"
56+
parallelizable = "YES"
57+
testExecutionOrdering = "random">
5458
<BuildableReference
5559
BuildableIdentifier = "primary"
5660
BlueprintIdentifier = "6317518B1D59766500A9DDDC"
@@ -60,7 +64,9 @@
6064
</BuildableReference>
6165
</TestableReference>
6266
<TestableReference
63-
skipped = "NO">
67+
skipped = "NO"
68+
parallelizable = "YES"
69+
testExecutionOrdering = "random">
6470
<BuildableReference
6571
BuildableIdentifier = "primary"
6672
BlueprintIdentifier = "631411321D59795700E24B9E"
@@ -70,7 +76,9 @@
7076
</BuildableReference>
7177
</TestableReference>
7278
<TestableReference
73-
skipped = "NO">
79+
skipped = "NO"
80+
parallelizable = "YES"
81+
testExecutionOrdering = "random">
7482
<BuildableReference
7583
BuildableIdentifier = "primary"
7684
BlueprintIdentifier = "633027E0203CC0060037E136"
@@ -80,7 +88,9 @@
8088
</BuildableReference>
8189
</TestableReference>
8290
<TestableReference
83-
skipped = "NO">
91+
skipped = "NO"
92+
parallelizable = "YES"
93+
testExecutionOrdering = "random">
8494
<BuildableReference
8595
BuildableIdentifier = "primary"
8696
BlueprintIdentifier = "C0244E4E2047A6CB00ACB4AC"

0 commit comments

Comments
 (0)