Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 374a1d2

Browse files
authored
Disable swift:4.1 tests. (#79)
- The swift:4.1 runtime is deprecated. The build and the tests are therefore disabled.
1 parent b739a4d commit 374a1d2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ repositories {
77
mavenLocal()
88
}
99

10+
test {
11+
// Exclude the swift:4.1 tests as it is deprecated.
12+
// Once swift:4.1 is fully removed from this repo, the exclude can also be removed.
13+
exclude '**/*Swift41*'
14+
}
15+
1016
tasks.withType(Test) {
1117
systemProperties = System.getProperties() // Forward defined properties to the test JVM
1218
testLogging {
@@ -17,11 +23,10 @@ tasks.withType(Test) {
1723
outputs.upToDateWhen { false } // force tests to run every time
1824
}
1925

20-
2126
task testWithoutCredentials(type: Test) {
2227
exclude '**/*Credentials*'
2328

24-
// Exclude the swift:4.1 tests as it is deprecated for the blueDeployment.
29+
// Exclude the swift:4.1 tests as it is deprecated.
2530
// Once swift:4.1 is fully removed from this repo, the exclude can also be removed.
2631
exclude '**/*Swift41*'
2732
}
@@ -30,7 +35,7 @@ task testWithoutCredentials(type: Test) {
3035
task testBlueCI(type: Test) {
3136
exclude 'runtime/sdk/**'
3237

33-
// Exclude the swift:4.1 tests as it is deprecated for the blueDeployment.
38+
// Exclude the swift:4.1 tests as it is deprecated.
3439
// Once swift:4.1 is fully removed from this repo, the exclude can also be removed.
3540
exclude '**/*Swift41*'
3641
}
@@ -39,7 +44,7 @@ task testBlueDeployment(type: Test) {
3944
include 'runtime/integration/**'
4045
include 'runtime/system/**'
4146

42-
// Exclude the swift:4.1 tests as it is deprecated for the blueDeployment.
47+
// Exclude the swift:4.1 tests as it is deprecated.
4348
// Once swift:4.1 is fully removed from this repo, the exclude can also be removed.
4449
exclude '**/*Swift41*'
4550
}
@@ -55,7 +60,7 @@ task testSDK(type: Test) {
5560
task testWithoutSDK(type: Test) {
5661
exclude 'runtime/sdk/**'
5762

58-
// Exclude the swift:4.1 tests as it is deprecated for the blueDeployment.
63+
// Exclude the swift:4.1 tests as it is deprecated.
5964
// Once swift:4.1 is fully removed from this repo, the exclude can also be removed.
6065
exclude '**/*Swift41*'
6166
}

0 commit comments

Comments
 (0)