Skip to content

Commit d0dd5f4

Browse files
committed
Update Gradle workflows and remove legacy test task
Replaced 'legacyTests' with 'test' in GitHub workflows for automation consistency. Removed the 'legacyTests' task from the Gradle configuration and adjusted test settings to exclude user interface tests directly in the main 'test' task. This simplifies the build process and reduces redundancy.
1 parent 500c521 commit d0dd5f4

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Grant execute permission for gradlew
3333
run: chmod +x gradlew
3434
- name: Run automated tests
35-
run: ./gradlew legacyTests --no-daemon
35+
run: ./gradlew test --no-daemon
3636

3737
build-windows:
3838
runs-on: windows-latest
@@ -58,7 +58,7 @@ jobs:
5858
- name: Grant execute permission for gradlew
5959
run: chmod +x gradlew
6060
- name: Run automated tests
61-
run: ./gradlew legacyTests --no-daemon
61+
run: ./gradlew test --no-daemon
6262

6363
build-macos:
6464
runs-on: macos-latest
@@ -84,7 +84,7 @@ jobs:
8484
- name: Grant execute permission for gradlew
8585
run: chmod +x gradlew
8686
- name: Run automated tests
87-
run: ./gradlew legacyTests --no-daemon
87+
run: ./gradlew test --no-daemon
8888

8989
static-tests:
9090
runs-on: ubuntu-latest

build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ tasks {
137137
}
138138

139139
test {
140+
exclude("**/userInterface/**")
140141
useJUnitPlatform()
141142
}
142143

@@ -247,10 +248,6 @@ kover {
247248
}
248249
}
249250

250-
tasks.register<Test>("legacyTests") {
251-
exclude("**/userInterface/**")
252-
}
253-
254251
tasks.register<Test>("uiTests") {
255252
exclude("**/reference/**")
256253
exclude("**/linemarker/**")

0 commit comments

Comments
 (0)