-
Notifications
You must be signed in to change notification settings - Fork 2
77 lines (65 loc) · 2.48 KB
/
Copy pathtest.yml
File metadata and controls
77 lines (65 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# 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
ddsenabler_branch:
description: 'Branch or tag of DDS Enabler repository (https://github.com/eProsima/FIWARE-DDS-Enabler)'
required: true
default: 'main'
type: string
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_ubuntu:
name: reusable_tests
uses: ./.github/workflows/reusable-ubuntu-ci.yml
with:
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
ref: ${{ github.ref }}
secrets: inherit
reusable_tests_windows:
name: reusable_tests
uses: ./.github/workflows/reusable-windows-ci.yml
with:
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 || 'master' }}
fastdds_branch: ${{ inputs.fastdds_branch || 'master' }}
devutils_branch: ${{ inputs.devutils_branch || 'main' }}
ddspipe_branch: ${{ inputs.ddspipe_branch || 'main' }}
ddsenabler_branch: ${{ inputs.ddsenabler_branch || github.head_ref || github.ref_name }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
ref: ${{ github.ref }}
secrets: inherit