From 82995965a023ee3011039d405025abefff320f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=BChlmann?= Date: Wed, 13 Nov 2024 17:23:56 +0100 Subject: [PATCH] Add test reports to single job --- .github/workflows/dagger-test.yaml | 10 +++++++++- .github/workflows/dagger.yaml | 6 ------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dagger-test.yaml b/.github/workflows/dagger-test.yaml index fb829a2d..49bf3894 100644 --- a/.github/workflows/dagger-test.yaml +++ b/.github/workflows/dagger-test.yaml @@ -8,7 +8,7 @@ jobs: runs-on: 'ubuntu-latest' steps: - uses: actions/checkout@v4 - - name: 'test' + - name: Test uses: dagger/dagger-for-github@v7.0.1 with: verb: call @@ -16,3 +16,11 @@ jobs: args: test --dir=./ version: '0.14.0' cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} + - name: Report + uses: dorny/test-reporter@v1.9.1 + with: + name: Minitests + path: test/reports/*.xml + reporter: java-junit + fail-on-empty: 'false' + fail-on-error: 'true' diff --git a/.github/workflows/dagger.yaml b/.github/workflows/dagger.yaml index 8a5efc36..235bac30 100644 --- a/.github/workflows/dagger.yaml +++ b/.github/workflows/dagger.yaml @@ -25,9 +25,3 @@ jobs: module: . # Arguments to pass to CLI args: ci-integration --dir=./ - - name: Test Reporter - uses: dorny/test-reporter@v1.9.1 - with: - name: Minitests - path: test/reports/*.xml - reporter: java-junit