|
| 1 | +name: Run tests (make) |
| 2 | +on: |
| 3 | + workflow_call: |
| 4 | + inputs: |
| 5 | + erlang_version: |
| 6 | + required: true |
| 7 | + type: string |
| 8 | + elixir_version: |
| 9 | + required: true |
| 10 | + type: string |
| 11 | + metadata_store: |
| 12 | + required: true |
| 13 | + type: string |
| 14 | +jobs: |
| 15 | + test-rabbit: |
| 16 | + name: Test rabbit |
| 17 | + strategy: |
| 18 | + fail-fast: false |
| 19 | + matrix: |
| 20 | + make_target: |
| 21 | + - parallel-ct-set-1 |
| 22 | + - parallel-ct-set-2 |
| 23 | + - parallel-ct-set-3 |
| 24 | + - parallel-ct-set-4 |
| 25 | + - ct-clustering_management |
| 26 | + - eunit ct-dead_lettering |
| 27 | + - ct-feature_flags |
| 28 | + - ct-metadata_store_clustering |
| 29 | + - ct-quorum_queue |
| 30 | + - ct-rabbit_stream_queue |
| 31 | + uses: ./.github/workflows/test-make-target.yaml |
| 32 | + with: |
| 33 | + erlang_version: ${{ inputs.erlang_version }} |
| 34 | + elixir_version: ${{ inputs.elixir_version }} |
| 35 | + metadata_store: ${{ inputs.metadata_store }} |
| 36 | + make_target: ${{ matrix.make_target }} |
| 37 | + plugin: rabbit |
| 38 | + |
| 39 | + test-rabbitmq-mqtt: |
| 40 | + name: Test rabbitmq_mqtt |
| 41 | + uses: ./.github/workflows/test-make-target.yaml |
| 42 | + with: |
| 43 | + erlang_version: ${{ inputs.erlang_version }} |
| 44 | + elixir_version: ${{ inputs.elixir_version }} |
| 45 | + metadata_store: ${{ inputs.metadata_store }} |
| 46 | + make_target: parallel-ct-set-1 |
| 47 | + plugin: rabbitmq_mqtt |
| 48 | + |
| 49 | + # The integration_SUITE requires secrets and |
| 50 | + # is therefore run from a separate workflow. |
| 51 | + test-rabbitmq-peer-discovery-aws: |
| 52 | + name: Test rabbitmq_peer_discovery_aws (partially) |
| 53 | + uses: ./.github/workflows/test-make-target.yaml |
| 54 | + with: |
| 55 | + erlang_version: ${{ inputs.erlang_version }} |
| 56 | + elixir_version: ${{ inputs.elixir_version }} |
| 57 | + metadata_store: ${{ inputs.metadata_store }} |
| 58 | + make_target: ct-config_schema ct-unit |
| 59 | + plugin: rabbitmq_peer_discovery_aws |
| 60 | + |
| 61 | + test-plugin: |
| 62 | + name: Test plugins |
| 63 | + strategy: |
| 64 | + fail-fast: false |
| 65 | + matrix: |
| 66 | + plugin: |
| 67 | + - amqp10_client |
| 68 | + - amqp10_common |
| 69 | + - amqp_client |
| 70 | + - oauth2_client |
| 71 | + - rabbit_common |
| 72 | + - rabbitmq_amqp_client |
| 73 | + - rabbitmq_auth_backend_cache |
| 74 | + - rabbitmq_auth_backend_http |
| 75 | + - rabbitmq_auth_backend_ldap |
| 76 | + - rabbitmq_auth_backend_oauth2 |
| 77 | + - rabbitmq_auth_mechanism_ssl |
| 78 | + - rabbitmq_aws |
| 79 | + - rabbitmq_cli |
| 80 | + - rabbitmq_consistent_hash_exchange |
| 81 | + - rabbitmq_event_exchange |
| 82 | + - rabbitmq_federation |
| 83 | + - rabbitmq_federation_management |
| 84 | + - rabbitmq_federation_prometheus |
| 85 | + - rabbitmq_jms_topic_exchange |
| 86 | + - rabbitmq_management |
| 87 | + - rabbitmq_management_agent |
| 88 | + - rabbitmq_peer_discovery_common |
| 89 | + - rabbitmq_peer_discovery_consul |
| 90 | + - rabbitmq_peer_discovery_etcd |
| 91 | + - rabbitmq_peer_discovery_k8s |
| 92 | + - rabbitmq_prelaunch |
| 93 | + - rabbitmq_prometheus |
| 94 | + - rabbitmq_recent_history_exchange |
| 95 | + - rabbitmq_sharding |
| 96 | + - rabbitmq_shovel |
| 97 | + - rabbitmq_shovel_management |
| 98 | + - rabbitmq_shovel_prometheus |
| 99 | + - rabbitmq_stomp |
| 100 | + - rabbitmq_stream |
| 101 | + - rabbitmq_stream_common |
| 102 | + - rabbitmq_stream_management |
| 103 | + - rabbitmq_tracing |
| 104 | + - rabbitmq_trust_store |
| 105 | + - rabbitmq_web_dispatch |
| 106 | + - rabbitmq_web_mqtt |
| 107 | + - rabbitmq_web_stomp |
| 108 | + uses: ./.github/workflows/test-make-target.yaml |
| 109 | + with: |
| 110 | + erlang_version: ${{ inputs.erlang_version }} |
| 111 | + elixir_version: ${{ inputs.elixir_version }} |
| 112 | + metadata_store: ${{ inputs.metadata_store }} |
| 113 | + make_target: tests |
| 114 | + plugin: ${{ matrix.plugin }} |
0 commit comments