mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
CI: Extract remaining values of /tmp/test-results into yaml reference (#6964)
* ci: extract value /tmp/test-results into yaml reference calls * ci: correctly subtitute a var in bash, womp womp
This commit is contained in:
parent
0d61369fcd
commit
d2d1f98423
@ -118,9 +118,9 @@ jobs:
|
|||||||
- cov_*.part
|
- cov_*.part
|
||||||
|
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
|
|
||||||
# split off a job for the API package since it is separate
|
# split off a job for the API package since it is separate
|
||||||
go-test-api:
|
go-test-api:
|
||||||
@ -150,9 +150,9 @@ jobs:
|
|||||||
- cov_*.part
|
- cov_*.part
|
||||||
|
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
|
|
||||||
# combine code coverage results from the parallel circleci executors
|
# combine code coverage results from the parallel circleci executors
|
||||||
coverage-merge:
|
coverage-merge:
|
||||||
@ -170,12 +170,12 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
echo "mode: set" > coverage.out
|
echo "mode: set" > coverage.out
|
||||||
grep -h -v "mode: set" cov_*.part >> coverage.out
|
grep -h -v "mode: set" cov_*.part >> coverage.out
|
||||||
go tool cover -html=coverage.out -o /tmp/test-results/coverage.html
|
go tool cover -html=coverage.out -o $TEST_RESULTS_DIR/coverage.html
|
||||||
- run:
|
- run:
|
||||||
name: codecov upload
|
name: codecov upload
|
||||||
command: bash <(curl -s https://codecov.io/bash) -v -C $CIRCLE_SHA1 -f '!agent/bindata_assetfs.go'
|
command: bash <(curl -s https://codecov.io/bash) -v -C $CIRCLE_SHA1 -f '!agent/bindata_assetfs.go'
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
|
|
||||||
# build all distros
|
# build all distros
|
||||||
build-distros: &build-distros
|
build-distros: &build-distros
|
||||||
@ -578,7 +578,7 @@ jobs:
|
|||||||
# Run go tests
|
# Run go tests
|
||||||
- run: make test-vault-ca-provider
|
- run: make test-vault-ca-provider
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: /tmp/test-results
|
path: *TEST_RESULTS_DIR
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user