GH Workflows: Separate validateCompile step from validatePullRequest: (#300)
This will make the source of errors in steps clearer, without adding any extra pipeline time. steps in github jobs are dependent on one another, so the build files can be passed onto prValidation without the need for PR validation to compile again
This commit is contained in:
parent
4bfe071ab9
commit
d51b7b30de
1 changed files with 16 additions and 1 deletions
17
.github/workflows/build-test-prValidation.yml
vendored
17
.github/workflows/build-test-prValidation.yml
vendored
|
|
@ -59,6 +59,21 @@ jobs:
|
|||
- name: Enable jvm-opts
|
||||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt validateCompile
|
||||
run: |-
|
||||
sbt \
|
||||
-Dpekko.mima.enabled=false \
|
||||
-Dpekko.test.multi-in-test=false \
|
||||
-Dpekko.test.timefactor=2 \
|
||||
-Dpekko.actor.testkit.typed.timefactor=2 \
|
||||
-Dpekko.test.tags.exclude=gh-exclude,timing \
|
||||
-Dpekko.cluster.assert=on \
|
||||
-Dsbt.override.build.repos=false \
|
||||
-Dpekko.test.multi-node=false \
|
||||
-Dsbt.log.noformat=false \
|
||||
-Dpekko.log.timestamps=true \
|
||||
validateCompile
|
||||
|
||||
- name: sbt validatePullRequest
|
||||
run: |-
|
||||
sbt \
|
||||
|
|
@ -72,4 +87,4 @@ jobs:
|
|||
-Dpekko.test.multi-node=false \
|
||||
-Dsbt.log.noformat=false \
|
||||
-Dpekko.log.timestamps=true \
|
||||
validateCompile validatePullRequest
|
||||
validatePullRequest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue