Skip to content

Commit

Permalink
move control to Main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 25, 2024
1 parent 79e14ab commit 7991b53
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Package test Publish

on: push

jobs:
Package_For_PIP:
uses: ./.github/workflows/Package.yaml

Regression_Tests:
needs:
- Package_For_PIP
uses: ./.github/workflows/Regression_Tests.yaml

# Publish_Package:
# needs:
# - Package_For_PIP
# - Regression_Tests
# uses: ./.github/workflows/Package.yaml
11 changes: 1 addition & 10 deletions .github/workflows/Regression_Tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
---
name: Regression Tests

on: push
on: workflow_call

jobs:
Package_For_PIP:
uses: ./.github/workflows/Package.yaml

Agent:
needs:
- Package_For_PIP
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -26,8 +21,6 @@ jobs:
- name: Robot Framework
run: robot --include ${{ matrix.platform }} Tests/Regression/Agent
Manager:
needs:
- Package_For_PIP
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
Expand Down Expand Up @@ -146,8 +139,6 @@ jobs:
echo "git push"
git push
Reporter:
needs:
- Package_For_PIP
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
Expand Down

0 comments on commit 7991b53

Please sign in to comment.