circleci postgres try1
This commit is contained in:
parent
27111da6be
commit
4b5c417bfd
@ -165,6 +165,14 @@ jobs:
|
|||||||
default: unit
|
default: unit
|
||||||
description: Test suite name to report to CircleCI.
|
description: Test suite name to report to CircleCI.
|
||||||
executor: << parameters.executor >>
|
executor: << parameters.executor >>
|
||||||
|
docker:
|
||||||
|
- image: circleci/postgres:12
|
||||||
|
environment:
|
||||||
|
PGHOST: localhost
|
||||||
|
PGUSER: yugabyte
|
||||||
|
POSTGRES_USER: yugabyte
|
||||||
|
POSTGRES_DB: yugabyte
|
||||||
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
steps:
|
steps:
|
||||||
- install-ubuntu-deps
|
- install-ubuntu-deps
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -173,6 +181,9 @@ jobs:
|
|||||||
condition: << parameters.get-params >>
|
condition: << parameters.get-params >>
|
||||||
steps:
|
steps:
|
||||||
- download-params
|
- download-params
|
||||||
|
- run:
|
||||||
|
name: Wait for db to run
|
||||||
|
command: dockerize -wait tcp://localhost:5433 -timeout 1m
|
||||||
- run:
|
- run:
|
||||||
name: go test
|
name: go test
|
||||||
environment:
|
environment:
|
||||||
@ -537,54 +548,63 @@ workflows:
|
|||||||
name: test-itest-api
|
name: test-itest-api
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-api
|
suite: itest-api
|
||||||
target: "./itests/api_test.go"
|
target: "./itests/api_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-batch_deal
|
name: test-itest-batch_deal
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-batch_deal
|
suite: itest-batch_deal
|
||||||
target: "./itests/batch_deal_test.go"
|
target: "./itests/batch_deal_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-ccupgrade
|
name: test-itest-ccupgrade
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-ccupgrade
|
suite: itest-ccupgrade
|
||||||
target: "./itests/ccupgrade_test.go"
|
target: "./itests/ccupgrade_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-cli
|
name: test-itest-cli
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-cli
|
suite: itest-cli
|
||||||
target: "./itests/cli_test.go"
|
target: "./itests/cli_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-clusterdb
|
name: test-itest-clusterdb
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-clusterdb
|
suite: itest-clusterdb
|
||||||
target: "./itests/clusterdb_test.go"
|
target: "./itests/clusterdb_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deadlines
|
name: test-itest-deadlines
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deadlines
|
suite: itest-deadlines
|
||||||
target: "./itests/deadlines_test.go"
|
target: "./itests/deadlines_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_512mb
|
name: test-itest-deals_512mb
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_512mb
|
suite: itest-deals_512mb
|
||||||
target: "./itests/deals_512mb_test.go"
|
target: "./itests/deals_512mb_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_anycid
|
name: test-itest-deals_anycid
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_anycid
|
suite: itest-deals_anycid
|
||||||
target: "./itests/deals_anycid_test.go"
|
target: "./itests/deals_anycid_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_concurrent
|
name: test-itest-deals_concurrent
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_concurrent
|
suite: itest-deals_concurrent
|
||||||
target: "./itests/deals_concurrent_test.go"
|
target: "./itests/deals_concurrent_test.go"
|
||||||
executor: golang-2xl
|
executor: golang-2xl
|
||||||
@ -592,420 +612,490 @@ workflows:
|
|||||||
name: test-itest-deals_invalid_utf8_label
|
name: test-itest-deals_invalid_utf8_label
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_invalid_utf8_label
|
suite: itest-deals_invalid_utf8_label
|
||||||
target: "./itests/deals_invalid_utf8_label_test.go"
|
target: "./itests/deals_invalid_utf8_label_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_max_staging_deals
|
name: test-itest-deals_max_staging_deals
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_max_staging_deals
|
suite: itest-deals_max_staging_deals
|
||||||
target: "./itests/deals_max_staging_deals_test.go"
|
target: "./itests/deals_max_staging_deals_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_offline
|
name: test-itest-deals_offline
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_offline
|
suite: itest-deals_offline
|
||||||
target: "./itests/deals_offline_test.go"
|
target: "./itests/deals_offline_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_padding
|
name: test-itest-deals_padding
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_padding
|
suite: itest-deals_padding
|
||||||
target: "./itests/deals_padding_test.go"
|
target: "./itests/deals_padding_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_partial_retrieval_dm-level
|
name: test-itest-deals_partial_retrieval_dm-level
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_partial_retrieval_dm-level
|
suite: itest-deals_partial_retrieval_dm-level
|
||||||
target: "./itests/deals_partial_retrieval_dm-level_test.go"
|
target: "./itests/deals_partial_retrieval_dm-level_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_partial_retrieval
|
name: test-itest-deals_partial_retrieval
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_partial_retrieval
|
suite: itest-deals_partial_retrieval
|
||||||
target: "./itests/deals_partial_retrieval_test.go"
|
target: "./itests/deals_partial_retrieval_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_power
|
name: test-itest-deals_power
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_power
|
suite: itest-deals_power
|
||||||
target: "./itests/deals_power_test.go"
|
target: "./itests/deals_power_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_pricing
|
name: test-itest-deals_pricing
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_pricing
|
suite: itest-deals_pricing
|
||||||
target: "./itests/deals_pricing_test.go"
|
target: "./itests/deals_pricing_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_publish
|
name: test-itest-deals_publish
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_publish
|
suite: itest-deals_publish
|
||||||
target: "./itests/deals_publish_test.go"
|
target: "./itests/deals_publish_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_remote_retrieval
|
name: test-itest-deals_remote_retrieval
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_remote_retrieval
|
suite: itest-deals_remote_retrieval
|
||||||
target: "./itests/deals_remote_retrieval_test.go"
|
target: "./itests/deals_remote_retrieval_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals_retry_deal_no_funds
|
name: test-itest-deals_retry_deal_no_funds
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals_retry_deal_no_funds
|
suite: itest-deals_retry_deal_no_funds
|
||||||
target: "./itests/deals_retry_deal_no_funds_test.go"
|
target: "./itests/deals_retry_deal_no_funds_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-deals
|
name: test-itest-deals
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-deals
|
suite: itest-deals
|
||||||
target: "./itests/deals_test.go"
|
target: "./itests/deals_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-decode_params
|
name: test-itest-decode_params
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-decode_params
|
suite: itest-decode_params
|
||||||
target: "./itests/decode_params_test.go"
|
target: "./itests/decode_params_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-dup_mpool_messages
|
name: test-itest-dup_mpool_messages
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-dup_mpool_messages
|
suite: itest-dup_mpool_messages
|
||||||
target: "./itests/dup_mpool_messages_test.go"
|
target: "./itests/dup_mpool_messages_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_account_abstraction
|
name: test-itest-eth_account_abstraction
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_account_abstraction
|
suite: itest-eth_account_abstraction
|
||||||
target: "./itests/eth_account_abstraction_test.go"
|
target: "./itests/eth_account_abstraction_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_api
|
name: test-itest-eth_api
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_api
|
suite: itest-eth_api
|
||||||
target: "./itests/eth_api_test.go"
|
target: "./itests/eth_api_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_balance
|
name: test-itest-eth_balance
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_balance
|
suite: itest-eth_balance
|
||||||
target: "./itests/eth_balance_test.go"
|
target: "./itests/eth_balance_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_block_hash
|
name: test-itest-eth_block_hash
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_block_hash
|
suite: itest-eth_block_hash
|
||||||
target: "./itests/eth_block_hash_test.go"
|
target: "./itests/eth_block_hash_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_bytecode
|
name: test-itest-eth_bytecode
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_bytecode
|
suite: itest-eth_bytecode
|
||||||
target: "./itests/eth_bytecode_test.go"
|
target: "./itests/eth_bytecode_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_config
|
name: test-itest-eth_config
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_config
|
suite: itest-eth_config
|
||||||
target: "./itests/eth_config_test.go"
|
target: "./itests/eth_config_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_conformance
|
name: test-itest-eth_conformance
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_conformance
|
suite: itest-eth_conformance
|
||||||
target: "./itests/eth_conformance_test.go"
|
target: "./itests/eth_conformance_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_deploy
|
name: test-itest-eth_deploy
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_deploy
|
suite: itest-eth_deploy
|
||||||
target: "./itests/eth_deploy_test.go"
|
target: "./itests/eth_deploy_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_fee_history
|
name: test-itest-eth_fee_history
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_fee_history
|
suite: itest-eth_fee_history
|
||||||
target: "./itests/eth_fee_history_test.go"
|
target: "./itests/eth_fee_history_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_filter
|
name: test-itest-eth_filter
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_filter
|
suite: itest-eth_filter
|
||||||
target: "./itests/eth_filter_test.go"
|
target: "./itests/eth_filter_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_hash_lookup
|
name: test-itest-eth_hash_lookup
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_hash_lookup
|
suite: itest-eth_hash_lookup
|
||||||
target: "./itests/eth_hash_lookup_test.go"
|
target: "./itests/eth_hash_lookup_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-eth_transactions
|
name: test-itest-eth_transactions
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-eth_transactions
|
suite: itest-eth_transactions
|
||||||
target: "./itests/eth_transactions_test.go"
|
target: "./itests/eth_transactions_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-fevm_address
|
name: test-itest-fevm_address
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-fevm_address
|
suite: itest-fevm_address
|
||||||
target: "./itests/fevm_address_test.go"
|
target: "./itests/fevm_address_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-fevm_events
|
name: test-itest-fevm_events
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-fevm_events
|
suite: itest-fevm_events
|
||||||
target: "./itests/fevm_events_test.go"
|
target: "./itests/fevm_events_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-fevm
|
name: test-itest-fevm
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-fevm
|
suite: itest-fevm
|
||||||
target: "./itests/fevm_test.go"
|
target: "./itests/fevm_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-gas_estimation
|
name: test-itest-gas_estimation
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-gas_estimation
|
suite: itest-gas_estimation
|
||||||
target: "./itests/gas_estimation_test.go"
|
target: "./itests/gas_estimation_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-gateway
|
name: test-itest-gateway
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-gateway
|
suite: itest-gateway
|
||||||
target: "./itests/gateway_test.go"
|
target: "./itests/gateway_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-get_messages_in_ts
|
name: test-itest-get_messages_in_ts
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-get_messages_in_ts
|
suite: itest-get_messages_in_ts
|
||||||
target: "./itests/get_messages_in_ts_test.go"
|
target: "./itests/get_messages_in_ts_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-lite_migration
|
name: test-itest-lite_migration
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-lite_migration
|
suite: itest-lite_migration
|
||||||
target: "./itests/lite_migration_test.go"
|
target: "./itests/lite_migration_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-lookup_robust_address
|
name: test-itest-lookup_robust_address
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-lookup_robust_address
|
suite: itest-lookup_robust_address
|
||||||
target: "./itests/lookup_robust_address_test.go"
|
target: "./itests/lookup_robust_address_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-mempool
|
name: test-itest-mempool
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-mempool
|
suite: itest-mempool
|
||||||
target: "./itests/mempool_test.go"
|
target: "./itests/mempool_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-migration
|
name: test-itest-migration
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-migration
|
suite: itest-migration
|
||||||
target: "./itests/migration_test.go"
|
target: "./itests/migration_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-mpool_msg_uuid
|
name: test-itest-mpool_msg_uuid
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-mpool_msg_uuid
|
suite: itest-mpool_msg_uuid
|
||||||
target: "./itests/mpool_msg_uuid_test.go"
|
target: "./itests/mpool_msg_uuid_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-mpool_push_with_uuid
|
name: test-itest-mpool_push_with_uuid
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-mpool_push_with_uuid
|
suite: itest-mpool_push_with_uuid
|
||||||
target: "./itests/mpool_push_with_uuid_test.go"
|
target: "./itests/mpool_push_with_uuid_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-msgindex
|
name: test-itest-msgindex
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-msgindex
|
suite: itest-msgindex
|
||||||
target: "./itests/msgindex_test.go"
|
target: "./itests/msgindex_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-multisig
|
name: test-itest-multisig
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-multisig
|
suite: itest-multisig
|
||||||
target: "./itests/multisig_test.go"
|
target: "./itests/multisig_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-net
|
name: test-itest-net
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-net
|
suite: itest-net
|
||||||
target: "./itests/net_test.go"
|
target: "./itests/net_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-nonce
|
name: test-itest-nonce
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-nonce
|
suite: itest-nonce
|
||||||
target: "./itests/nonce_test.go"
|
target: "./itests/nonce_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-path_detach_redeclare
|
name: test-itest-path_detach_redeclare
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-path_detach_redeclare
|
suite: itest-path_detach_redeclare
|
||||||
target: "./itests/path_detach_redeclare_test.go"
|
target: "./itests/path_detach_redeclare_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-path_type_filters
|
name: test-itest-path_type_filters
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-path_type_filters
|
suite: itest-path_type_filters
|
||||||
target: "./itests/path_type_filters_test.go"
|
target: "./itests/path_type_filters_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-paych_api
|
name: test-itest-paych_api
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-paych_api
|
suite: itest-paych_api
|
||||||
target: "./itests/paych_api_test.go"
|
target: "./itests/paych_api_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-paych_cli
|
name: test-itest-paych_cli
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-paych_cli
|
suite: itest-paych_cli
|
||||||
target: "./itests/paych_cli_test.go"
|
target: "./itests/paych_cli_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-pending_deal_allocation
|
name: test-itest-pending_deal_allocation
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-pending_deal_allocation
|
suite: itest-pending_deal_allocation
|
||||||
target: "./itests/pending_deal_allocation_test.go"
|
target: "./itests/pending_deal_allocation_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-raft_messagesigner
|
name: test-itest-raft_messagesigner
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-raft_messagesigner
|
suite: itest-raft_messagesigner
|
||||||
target: "./itests/raft_messagesigner_test.go"
|
target: "./itests/raft_messagesigner_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-remove_verifreg_datacap
|
name: test-itest-remove_verifreg_datacap
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-remove_verifreg_datacap
|
suite: itest-remove_verifreg_datacap
|
||||||
target: "./itests/remove_verifreg_datacap_test.go"
|
target: "./itests/remove_verifreg_datacap_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sdr_upgrade
|
name: test-itest-sdr_upgrade
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sdr_upgrade
|
suite: itest-sdr_upgrade
|
||||||
target: "./itests/sdr_upgrade_test.go"
|
target: "./itests/sdr_upgrade_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sealing_resources
|
name: test-itest-sealing_resources
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sealing_resources
|
suite: itest-sealing_resources
|
||||||
target: "./itests/sealing_resources_test.go"
|
target: "./itests/sealing_resources_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_finalize_early
|
name: test-itest-sector_finalize_early
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_finalize_early
|
suite: itest-sector_finalize_early
|
||||||
target: "./itests/sector_finalize_early_test.go"
|
target: "./itests/sector_finalize_early_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_import_full
|
name: test-itest-sector_import_full
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_import_full
|
suite: itest-sector_import_full
|
||||||
target: "./itests/sector_import_full_test.go"
|
target: "./itests/sector_import_full_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_import_simple
|
name: test-itest-sector_import_simple
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_import_simple
|
suite: itest-sector_import_simple
|
||||||
target: "./itests/sector_import_simple_test.go"
|
target: "./itests/sector_import_simple_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_make_cc_avail
|
name: test-itest-sector_make_cc_avail
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_make_cc_avail
|
suite: itest-sector_make_cc_avail
|
||||||
target: "./itests/sector_make_cc_avail_test.go"
|
target: "./itests/sector_make_cc_avail_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_miner_collateral
|
name: test-itest-sector_miner_collateral
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_miner_collateral
|
suite: itest-sector_miner_collateral
|
||||||
target: "./itests/sector_miner_collateral_test.go"
|
target: "./itests/sector_miner_collateral_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_numassign
|
name: test-itest-sector_numassign
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_numassign
|
suite: itest-sector_numassign
|
||||||
target: "./itests/sector_numassign_test.go"
|
target: "./itests/sector_numassign_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_pledge
|
name: test-itest-sector_pledge
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_pledge
|
suite: itest-sector_pledge
|
||||||
target: "./itests/sector_pledge_test.go"
|
target: "./itests/sector_pledge_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_prefer_no_upgrade
|
name: test-itest-sector_prefer_no_upgrade
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_prefer_no_upgrade
|
suite: itest-sector_prefer_no_upgrade
|
||||||
target: "./itests/sector_prefer_no_upgrade_test.go"
|
target: "./itests/sector_prefer_no_upgrade_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_revert_available
|
name: test-itest-sector_revert_available
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_revert_available
|
suite: itest-sector_revert_available
|
||||||
target: "./itests/sector_revert_available_test.go"
|
target: "./itests/sector_revert_available_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_terminate
|
name: test-itest-sector_terminate
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_terminate
|
suite: itest-sector_terminate
|
||||||
target: "./itests/sector_terminate_test.go"
|
target: "./itests/sector_terminate_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-sector_unseal
|
name: test-itest-sector_unseal
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-sector_unseal
|
suite: itest-sector_unseal
|
||||||
target: "./itests/sector_unseal_test.go"
|
target: "./itests/sector_unseal_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-self_sent_txn
|
name: test-itest-self_sent_txn
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-self_sent_txn
|
suite: itest-self_sent_txn
|
||||||
target: "./itests/self_sent_txn_test.go"
|
target: "./itests/self_sent_txn_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-splitstore
|
name: test-itest-splitstore
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-splitstore
|
suite: itest-splitstore
|
||||||
target: "./itests/splitstore_test.go"
|
target: "./itests/splitstore_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-tape
|
name: test-itest-tape
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-tape
|
suite: itest-tape
|
||||||
target: "./itests/tape_test.go"
|
target: "./itests/tape_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-verifreg
|
name: test-itest-verifreg
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-verifreg
|
suite: itest-verifreg
|
||||||
target: "./itests/verifreg_test.go"
|
target: "./itests/verifreg_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-wdpost_config
|
name: test-itest-wdpost_config
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-wdpost_config
|
suite: itest-wdpost_config
|
||||||
target: "./itests/wdpost_config_test.go"
|
target: "./itests/wdpost_config_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-wdpost_dispute
|
name: test-itest-wdpost_dispute
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-wdpost_dispute
|
suite: itest-wdpost_dispute
|
||||||
target: "./itests/wdpost_dispute_test.go"
|
target: "./itests/wdpost_dispute_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-wdpost_no_miner_storage
|
name: test-itest-wdpost_no_miner_storage
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-wdpost_no_miner_storage
|
suite: itest-wdpost_no_miner_storage
|
||||||
target: "./itests/wdpost_no_miner_storage_test.go"
|
target: "./itests/wdpost_no_miner_storage_test.go"
|
||||||
- test:
|
- test:
|
||||||
name: test-itest-wdpost
|
name: test-itest-wdpost
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-wdpost
|
suite: itest-wdpost
|
||||||
target: "./itests/wdpost_test.go"
|
target: "./itests/wdpost_test.go"
|
||||||
get-params: true
|
get-params: true
|
||||||
@ -1014,6 +1104,7 @@ workflows:
|
|||||||
name: test-itest-wdpost_worker_config
|
name: test-itest-wdpost_worker_config
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-wdpost_worker_config
|
suite: itest-wdpost_worker_config
|
||||||
target: "./itests/wdpost_worker_config_test.go"
|
target: "./itests/wdpost_worker_config_test.go"
|
||||||
executor: golang-2xl
|
executor: golang-2xl
|
||||||
@ -1021,6 +1112,7 @@ workflows:
|
|||||||
name: test-itest-worker
|
name: test-itest-worker
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-worker
|
suite: itest-worker
|
||||||
target: "./itests/worker_test.go"
|
target: "./itests/worker_test.go"
|
||||||
executor: golang-2xl
|
executor: golang-2xl
|
||||||
@ -1028,6 +1120,7 @@ workflows:
|
|||||||
name: test-itest-worker_upgrade
|
name: test-itest-worker_upgrade
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-worker_upgrade
|
suite: itest-worker_upgrade
|
||||||
target: "./itests/worker_upgrade_test.go"
|
target: "./itests/worker_upgrade_test.go"
|
||||||
- test:
|
- test:
|
||||||
|
@ -165,6 +165,14 @@ jobs:
|
|||||||
default: unit
|
default: unit
|
||||||
description: Test suite name to report to CircleCI.
|
description: Test suite name to report to CircleCI.
|
||||||
executor: << parameters.executor >>
|
executor: << parameters.executor >>
|
||||||
|
docker:
|
||||||
|
- image: circleci/postgres:12
|
||||||
|
environment:
|
||||||
|
PGHOST: localhost
|
||||||
|
PGUSER: yugabyte
|
||||||
|
POSTGRES_USER: yugabyte
|
||||||
|
POSTGRES_DB: yugabyte
|
||||||
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
steps:
|
steps:
|
||||||
- install-ubuntu-deps
|
- install-ubuntu-deps
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
@ -173,6 +181,9 @@ jobs:
|
|||||||
condition: << parameters.get-params >>
|
condition: << parameters.get-params >>
|
||||||
steps:
|
steps:
|
||||||
- download-params
|
- download-params
|
||||||
|
- run:
|
||||||
|
name: Wait for db to run
|
||||||
|
command: dockerize -wait tcp://localhost:5433 -timeout 1m
|
||||||
- run:
|
- run:
|
||||||
name: go test
|
name: go test
|
||||||
environment:
|
environment:
|
||||||
@ -540,6 +551,7 @@ workflows:
|
|||||||
name: test-itest-[[ $name ]]
|
name: test-itest-[[ $name ]]
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
- postgres
|
||||||
suite: itest-[[ $name ]]
|
suite: itest-[[ $name ]]
|
||||||
target: "./itests/[[ $file ]]"
|
target: "./itests/[[ $file ]]"
|
||||||
[[- if or (eq $name "worker") (eq $name "deals_concurrent") (eq $name "wdpost_worker_config")]]
|
[[- if or (eq $name "worker") (eq $name "deals_concurrent") (eq $name "wdpost_worker_config")]]
|
||||||
|
Loading…
Reference in New Issue
Block a user