-
Notifications
You must be signed in to change notification settings - Fork 36
50 lines (44 loc) · 1.17 KB
/
project_test.yaml
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
name: Project Test
on:
pull_request:
branches:
- 'dev/*'
- 'enterprise'
jobs:
set_version:
runs-on: ubuntu-latest
outputs:
emqx-name: ${{ steps.set-output.outputs.emqx-name }}
steps:
- name: check branch and set output
id: set-output
run: |
if [[ "${{ github.base_ref }}" == enterprise ]]; then
echo "emqx-name=emqx-enterprise" >> "$GITHUB_OUTPUT"
else
echo "emqx-name=emqx" >> "$GITHUB_OUTPUT"
fi
build_emqx_for_test:
needs:
- set_version
uses: ./.github/workflows/build_emqx_for_test.yaml
with:
emqx-name: ${{ needs.set_version.outputs.emqx-name }}
# dashboard_test:
# needs:
# - build_emqx_for_test
# uses: ./.github/workflows/dashboard_test.yaml
check_schema:
needs:
- set_version
- build_emqx_for_test
uses: ./.github/workflows/check_newest_schema.yaml
with:
emqx-name: ${{ needs.set_version.outputs.emqx-name }}
check_audit_dict:
needs:
- set_version
- build_emqx_for_test
uses: ./.github/workflows/check_audit_dict.yaml
with:
emqx-name: ${{ needs.set_version.outputs.emqx-name }}