Skip to content

Commit 1286326

Browse files
committed
Run validator tests upfront for fail fast style errors
1 parent 84844ea commit 1286326

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/gradle_branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
restore-keys: ${{ runner.os }}-gradle-${{ secrets.CACHE_VERSION }}
3030
- name: Grant execute permission for gradlew
3131
run: chmod +x gradlew
32+
- name: Run Validity Tests Upfront
33+
run: ./gradlew test --tests "io.reactivex.rxjava4.validators.*" --stacktrace --no-daemon
3234
- name: Build RxJava
3335
run: ./gradlew build --stacktrace
3436
- name: Upload to Codecov

.github/workflows/gradle_pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
restore-keys: ${{ runner.os }}-gradle-1-
3030
- name: Grant execute permission for gradlew
3131
run: chmod +x gradlew
32+
- name: Run Validity Tests Upfront
33+
run: ./gradlew test --tests "io.reactivex.rxjava4.validators.*" --stacktrace --no-daemon
3234
- name: Build RxJava
3335
run: ./gradlew build --stacktrace
3436
- name: Upload to Codecov

.github/workflows/gradle_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
run: chmod +x push_javadoc.sh
4141
- name: Extract version tag
4242
run: echo "BUILD_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
43+
- name: Run Validity Tests Upfront
44+
run: ./gradlew test --tests "io.reactivex.rxjava4.validators.*" --stacktrace --no-daemon
4345
- name: Build RxJava
4446
run: ./gradlew build --stacktrace --no-daemon
4547
- name: Upload to Codecov

.github/workflows/gradle_snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
run: chmod +x gradlew
3838
- name: Grant execute permission for push
3939
run: chmod +x push_javadoc.sh
40+
- name: Run Validity Tests Upfront
41+
run: ./gradlew test --tests "io.reactivex.rxjava4.validators.*" --stacktrace --no-daemon
4042
- name: Build RxJava
4143
run: ./gradlew build --stacktrace --no-daemon
4244
- name: Upload Snapshot

0 commit comments

Comments
 (0)