From b10368517082fd77fabcf9c0791e92af5d3766c5 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Wed, 14 Dec 2022 16:23:31 +0100 Subject: [PATCH] chore: Collect gotests.xml files (#5398) * chore: Use datadog-ci to collect gotests.xml * WIP * Fix: github ref * fix * just store gotests.xml --- .github/workflows/coder.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 4772af329e..30c6d12ae1 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -356,6 +356,13 @@ jobs: path: ./gotestsum.json retention-days: 7 + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: gotests-${{ matrix.os }}.xml + path: ./gotests.xml + retention-days: 30 + - uses: codecov/codecov-action@v3 # This action has a tendency to error out unexpectedly, it has # the `fail_ci_if_error` option that defaults to `false`, but @@ -434,6 +441,13 @@ jobs: path: ./gotestsum.json retention-days: 7 + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: gotests-postgres.xml + path: ./gotests.xml + retention-days: 30 + - uses: codecov/codecov-action@v3 # This action has a tendency to error out unexpectedly, it has # the `fail_ci_if_error` option that defaults to `false`, but