Implement DDS Participants #3611
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tests to run with workflow-dispatch, pull-request and push events | |
name: test | |
on: | |
workflow_dispatch: | |
inputs: | |
fastcdr_branch: | |
description: 'Branch or tag of Fast CDR repository (https://github.com/eProsima/Fast-CDR)' | |
required: true | |
default: 'master' | |
type: string | |
fastdds_branch: | |
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)' | |
required: true | |
default: 'master' | |
type: string | |
devutils_branch: | |
description: 'Branch or tag of eProsima/dev-utils repository (https://github.com/eProsima/dev-utils)' | |
required: true | |
default: 'main' | |
type: string | |
ddspipe_branch: | |
description: 'Branch or tag of DDS Pipe repository (https://github.com/eProsima/DDS-Pipe)' | |
required: true | |
default: 'main' | |
type: string | |
ddsrouter_branch: | |
description: 'Branch or tag of DDS Router repository (https://github.com/eProsima/DDS-Router)' | |
required: true | |
default: 'main' | |
type: string | |
custom_version_build: | |
description: > | |
Use the custom version build from eProsima-CI. | |
If set to false, the workflow will run the tests for Fast DDS v2 and v3. | |
required: true | |
type: choice | |
default: 'custom' | |
options: | |
- custom | |
- v2 | |
- v3 | |
dependencies_artifact_postfix: | |
description: 'Postfix name to add to artifact name to download dependencies. This is use to download a specific artifact version from eProsima-CI.' | |
required: true | |
default: '_nightly' | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
reusable_tests: | |
name: reusable_tests | |
uses: ./.github/workflows/reusable-workflow.yml | |
with: | |
custom_version_build: ${{ inputs.custom_version_build || 'v3' }} | |
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }} | |
ref: ${{ github.ref }} | |
secrets: inherit | |
reusable_docker_tests: | |
name: reusable_docker_tests | |
uses: ./.github/workflows/docker-reusable-workflow.yml | |
with: | |
fastcdr_branch: ${{ inputs.fastcdr_branch || '2.x' }} | |
fastdds_branch: ${{ inputs.fastdds_branch || '3.x' }} | |
devutils_branch: ${{ inputs.devutils_branch || '1.x' }} | |
ddspipe_branch: ${{ inputs.ddspipe_branch || '1.x' }} | |
ddsrouter_branch: ${{ inputs.ddsrouter_branch || github.head_ref || github.ref_name }} | |
custom_version_build: ${{ inputs.custom_version_build || 'v3' }} | |
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }} | |
ref: ${{ github.ref }} | |
secrets: inherit |