Skip to content

Commit

Permalink
GH Workflows: Separate validateCompile step from validatePullRequest: (
Browse files Browse the repository at this point in the history
…#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

(cherry picked from commit d51b7b3)
  • Loading branch information
sam-byng authored and mdedetrich committed Sep 5, 2023
1 parent 46c38f6 commit 01a1052
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build-test-prValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -72,4 +87,4 @@ jobs:
-Dpekko.test.multi-node=false \
-Dsbt.log.noformat=false \
-Dpekko.log.timestamps=true \
validateCompile validatePullRequest
validatePullRequest

0 comments on commit 01a1052

Please sign in to comment.