Skip to content

Commit

Permalink
Split docs-tests from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed May 5, 2022
1 parent 83cf5bb commit 81d79f4
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,33 @@ jobs:
scala: 2.12.15, 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" ],
"folder": [ ".", "documentation" ]
"sbt_test_task": [ "test", "Play-Integration-Test/It/test", "Play-Microbenchmark/jmh:run -i 1 -wi 0 -f 1 -t 1 -foe=true" ]
}
exclude: >-
[
{ "folder": "documentation", "sbt_test_task": "Play-Integration-Test/It/test" },
{ "folder": "documentation", "sbt_test_task": "Play-Microbenchmark/jmh:run -i 1 -wi 0 -f 1 -t 1 -foe=true" },
{ "java": "${{ github.event_name == 'schedule' || '11' }}" },
{ "scala": "${{ github.event_name == 'schedule' || '2.12.15' }}" },
{ "sbt_test_task": "${{ github.event_name == 'schedule' || 'Play-Microbenchmark/jmh:run -i 1 -wi 0 -f 1 -t 1 -foe=true' }}" }
]
cmd: cd $MATRIX_FOLDER && sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" ++$MATRIX_SCALA "$MATRIX_SBT_TEST_TASK"
cmd: sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" ++$MATRIX_SCALA "$MATRIX_SBT_TEST_TASK"

docs-tests:
name: Docs Tests
needs:
- "extra-vars"
- "check-code-style"
- "check-binary-compatibility"
- "check-code-style-docs"
uses: playframework/.github/.github/workflows/cmd.yml@cmd-ihostage
with:
java: 11, 8
scala: 2.12.15, 2.13.8
exclude: >-
[
{ "java": "${{ github.event_name == 'schedule' || '11' }}" },
{ "scala": "${{ github.event_name == 'schedule' || '2.12.15' }}" }
]
cmd: cd documentation && sbt "${{needs.extra-vars.outputs.akka_version_opts}}" "${{needs.extra-vars.outputs.akka_http_version_opts}}" ++$MATRIX_SCALA test

scripted-tests:
name: Scripted Tests
Expand Down Expand Up @@ -151,5 +166,6 @@ jobs:
if: github.event_name == 'pull_request'
needs: # Should be last
- "tests"
- "docs-tests"
- "scripted-tests"
uses: playframework/.github/.github/workflows/rtm.yml@v1

0 comments on commit 81d79f4

Please sign in to comment.