Skip to content

Commit 22d5b99

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [make] [Github Actions] accelerate test avoiding static doing a code check (separated step) twice.
1 parent 3a2e8cb commit 22d5b99

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/java-gradle-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: gradle/actions/setup-gradle@v3
3939

4040
- name: Runt tests
41-
run: ./gradlew --console=verbose test
41+
run: ./gradlew --console=verbose test -x checkstyleMain checkstyleTest
4242

4343
- name: Upload coverage reports to Codecov with GitHub Action
4444
uses: codecov/codecov-action@v4

.github/workflows/java-gradle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ jobs:
4848
run: ./gradlew --console=verbose checkstyleMain checkstyleTest
4949

5050
- name: Runt tests
51-
run: ./gradlew --console=verbose test
51+
run: ./gradlew --console=verbose test -x checkstyleMain checkstyleTest
52+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ test/styling: dependencies
6262
test/static: dependencies
6363

6464
test: env
65-
$(GRADLE) --console=verbose clean test
65+
$(GRADLE) --console=verbose clean test -x checkstyleMain checkstyleTest
6666

6767
coverage: test
6868

0 commit comments

Comments
 (0)