-
-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (39 loc) · 1.24 KB
/
Main.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
---
name: Package Test Publish
on:
push:
pull_request:
types: [opened, reopened]
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
jobs:
Package_For_PIP:
uses: ./.github/workflows/Package.yaml
# Regression_Tests:
# needs:
# - Package_For_PIP
# uses: ./.github/workflows/Regression_Tests.yaml
Regression_Tests_Agent:
if: needs.Package_For_PIP.outputs.runagent == 'true'
needs:
- Package_For_PIP
uses: ./.github/workflows/Regression_Tests_Agent.yaml
Regression_Tests_Manager:
if: needs.Package_For_PIP.outputs.runmanager == 'true'
needs:
- Package_For_PIP
uses: ./.github/workflows/Regression_Tests_Manager.yaml
Regression_Tests_Reporter:
if: needs.Package_For_PIP.outputs.runreporter == 'true'
needs:
- Package_For_PIP
uses: ./.github/workflows/Regression_Tests_Reporter.yaml
Publish_Package:
if: github.repository_owner == 'damies13' && needs.Package_For_PIP.outputs.isrelease == 1
# if: github.repository_owner == 'damies13'
needs:
- Package_For_PIP
# - Regression_Tests
- Regression_Tests_Agent
- Regression_Tests_Manager
- Regression_Tests_Reporter
uses: ./.github/workflows/Publish.yaml