diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d7640f..518cbbd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,3 +92,21 @@ jobs: with: name: Extension path: ./*.vsix + + publish-test-results: + name: "Publish Unit Tests Results" + needs: build + runs-on: ubuntu-latest + # the build-and-test job might be skipped, we don't need to run this job then + if: success() || failure() + + steps: + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + + - name: Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + with: + files: artifacts/**/*.xml