From 6d63e1a2b014a3a1d6dc7ea876ddc98983c04942 Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Sun, 26 Mar 2023 19:06:10 -0700 Subject: [PATCH] Test CI insights --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5b3b5cb0..e4051eef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -179,6 +179,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Collect Workflow Telemetry + uses: runforesight/foresight-workflow-kit-action@v1 + if: ${{ always() }} + with: + api_key: eebc6219-a63b-4325-bd40-d8267f2a3302 + - name: Setup Golang with cache uses: magnetikonline/action-golang-cache@v4 with: @@ -220,6 +226,15 @@ jobs: -p 1 \ ./... 2>&1 | tee ./testlog/gotest.log | gotestfmt -hide successful-tests + - name: Analyze Test and/or Coverage Results + uses: runforesight/foresight-test-kit-action@v1 + if: ${{ always() }} + with: + api_key: eebc6219-a63b-4325-bd40-d8267f2a3302 + test_format: TEXT + test_framework: GOLANG + test_path: src/testlog/gotest.log + # Upload the original go test output as an artifact for later review. - name: Upload test log if: failure()