-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.05 KB
/
ci.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
name: CI
on:
workflow_call:
push:
branches:
- '**'
- '!main'
- '!develop'
jobs:
base_image_build:
name: Base image build
uses: ./.github/workflows/base-image-build.yml
if: ${{ github.event_name != 'push' || github.event.pull_request.head.sha != github.sha }}
secrets: inherit
final_image_build:
name: Final image build
uses: ./.github/workflows/final-image-build.yml
needs: [base_image_build]
if: ${{ github.event_name != 'push' || github.event.pull_request.head.sha != github.sha }}
secrets: inherit
unit_tests:
name: Unit Tests
uses: ./.github/workflows/unit-tests.yml
needs: [final_image_build, base_image_build]
if: ${{ github.event_name != 'push' || github.event.pull_request.head.sha != github.sha }}
secrets: inherit
integration_tests:
name: Integration Tests
uses: ./.github/workflows/integration-tests.yml
needs: [final_image_build, base_image_build]
if: ${{ github.event_name != 'push' || github.event.pull_request.head.sha != github.sha }}
secrets: inherit