Skip to content

Commit a78c022

Browse files
committed
always rerun tasks in CI to ensure tests are run
1 parent 30cf457 commit a78c022

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
run: >
6565
./gradlew build
6666
--continue --stacktrace
67+
--rerun-tasks
6768
build:
6869
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
6970
name: 'Build Grails-Core'
@@ -89,6 +90,7 @@ jobs:
8990
run: >
9091
./gradlew build :grails-shell-cli:installDist groovydoc
9192
--continue --stacktrace -PonlyCoreTests
93+
--rerun-tasks
9294
functional:
9395
name: "Functional Tests"
9496
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
@@ -116,6 +118,7 @@ jobs:
116118
-PonlyFunctionalTests
117119
-PskipHibernate5Tests
118120
-PskipMongodbTests
121+
--rerun-tasks
119122
mongodbFunctional:
120123
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
121124
name: "Mongodb Functional Tests"
@@ -145,6 +148,7 @@ jobs:
145148
--continue --stacktrace
146149
-PonlyMongodbTests
147150
-PmongodbContainerVersion=${{ matrix.mongodb-version }}
151+
--rerun-tasks
148152
hibernate5Functional:
149153
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
150154
name: "Hibernate5 Functional Tests"
@@ -172,6 +176,7 @@ jobs:
172176
./gradlew bootJar cleanTest check
173177
--continue --stacktrace
174178
-PonlyHibernate5Tests
179+
--rerun-tasks
175180
publishGradle:
176181
if: github.repository_owner == 'apache' && github.event_name == 'push'
177182
needs: [ buildGradle ]

0 commit comments

Comments
 (0)