Skip to content

Commit

Permalink
Merge pull request #11270 from mkurz/more_cron_tests
Browse files Browse the repository at this point in the history
Test against all Java versions, but only nightly
  • Loading branch information
mkurz committed May 6, 2022
2 parents 084ed14 + 04ce1d3 commit 88e2b06
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@ jobs:
- "check-code-style-docs"
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
java: 11
java: 11, 8
scala: 2.13.8
add-dimensions: >-
{
"sbt_test_task": [ "test", "Play-Integration-Test/It/test", "Play-Microbenchmark/jmh:run -i 1 -wi 0 -f 1 -t 1 -foe=true" ]
}
exclude: >-
[
{ "java": "${{ github.event_name == 'schedule' || '11' }}" },
{ "sbt_test_task": "${{ github.event_name == 'schedule' || 'Play-Microbenchmark/jmh:run -i 1 -wi 0 -f 1 -t 1 -foe=true' }}" }
]
cmd: sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" ++$MATRIX_SCALA "$MATRIX_SBT_TEST_TASK"
Expand All @@ -118,8 +119,12 @@ jobs:
- "check-code-style-docs"
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
java: 11
java: 11, 8
scala: 2.13.8
exclude: >-
[
{ "java": "${{ github.event_name == 'schedule' || '11' }}" }
]
cmd: cd documentation && sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" ++$MATRIX_SCALA test

scripted-tests:
Expand All @@ -129,13 +134,17 @@ jobs:
- "publish-local"
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
java: 8
java: 11, 8
scala: 2.13.8
add-dimensions: >-
{
"sbt": [ "1.6.2" ],
"sbt_steps": [ "*1of3", "*2of3", "*3of3" ]
}
exclude: >-
[
{ "java": "${{ github.event_name == 'schedule' || '11' }}" }
]
cmd: >-
sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" "
project Sbt-Plugin;
Expand Down

0 comments on commit 88e2b06

Please sign in to comment.