Compare commits
1 Commits
main
...
foresight_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d63e1a2b0 |
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -179,6 +179,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Setup Golang with cache
|
||||||
uses: magnetikonline/action-golang-cache@v4
|
uses: magnetikonline/action-golang-cache@v4
|
||||||
with:
|
with:
|
||||||
@ -220,6 +226,15 @@ jobs:
|
|||||||
-p 1 \
|
-p 1 \
|
||||||
./... 2>&1 | tee ./testlog/gotest.log | gotestfmt -hide successful-tests
|
./... 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.
|
# Upload the original go test output as an artifact for later review.
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user