-
Notifications
You must be signed in to change notification settings - Fork 68
45 lines (44 loc) · 1.17 KB
/
master-trigger.yml
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
name: master-trigger
on:
pull_request:
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
DATIL_COMMIT_HASH: ae3c20e07eb933b61073689b95f56867c03de252
jobs:
list_changed_files_and_trigger_workflows:
uses: ./.github/workflows/list-changed-files.yml
secrets: inherit
get_shas:
uses: ./.github/workflows/get-sha.yml
secrets: inherit
lint:
needs: [list_changed_files_and_trigger_workflows]
uses: ./.github/workflows/lint.yml
secrets: inherit
unit_tests:
uses: ./.github/workflows/unit-test.yml
secrets: inherit
needs: [lint, get_shas]
intigration_tests:
uses: ./.github/workflows/intigration-test.yml
secrets: inherit
needs: [lint, get_shas]
with:
commit: ${{env.DATIL_COMMIT_HASH}}
all_jobs:
if: ${{ always() }}
needs: [
lint,
unit_tests,
intigration_tests
]
runs-on: ubuntu-latest
steps:
- name: Check status
run: |
echo "Linter ${{needs.lint.result}}"
echo "Tests Unit ${{needs.unit_tests.result}}"
echo "Tests Intigration"