Skip to content

Commit

Permalink
Run integrationTest last (as it is the one failing), then upload enti…
Browse files Browse the repository at this point in the history
…re build folder as artifact.

See: gradle#136

Signed-off-by: marracuene <[email protected]>
  • Loading branch information
marracuene committed Jun 24, 2020
1 parent 290a6d9 commit 06af480
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gradle-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ jobs:
gradle:
strategy:
matrix:
#task: [docTest, integrationTest]
task: [integrationTest]
task: [docTest, integrationTest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,9 +15,9 @@ jobs:
# run the build
- uses: eskatos/gradle-command-action@v1
with:
arguments: integrationTest --tests org.gradle.playframework.application.advanced.PlayIdeaPluginAdvancedIntegrationTest
# upload build reports for later inspection, if the build failed
# N.B only applies to the last task in the matrix
arguments: ${{ matrix.task }}
# upload build output for later inspection, if the build failed
# N.B only applies to the last task in the matrix
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down

0 comments on commit 06af480

Please sign in to comment.