From 06af4801361eebbea5b32f63516c73de314718ab Mon Sep 17 00:00:00 2001 From: marracuene Date: Wed, 24 Jun 2020 12:55:40 +0200 Subject: [PATCH] Run integrationTest last (as it is the one failing), then upload entire build folder as artifact. See: https://github.com/gradle/playframework/issues/136 Signed-off-by: marracuene --- .github/workflows/gradle-build-pr.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle-build-pr.yml b/.github/workflows/gradle-build-pr.yml index 294149e9..d33ea102 100644 --- a/.github/workflows/gradle-build-pr.yml +++ b/.github/workflows/gradle-build-pr.yml @@ -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 @@ -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: