diff --git a/.github/workflows/e2e.yml b/.github/workflows/_includes/e2e.yml similarity index 100% rename from .github/workflows/e2e.yml rename to .github/workflows/_includes/e2e.yml diff --git a/.github/workflows/test.yml b/.github/workflows/_includes/unit.yml similarity index 97% rename from .github/workflows/test.yml rename to .github/workflows/_includes/unit.yml index c8a39e45a8..669658f35d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/_includes/unit.yml @@ -1,6 +1,6 @@ +name: Unit Tests on: workflow_call: - jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86add7f58d..9bff5a87b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,5 +9,7 @@ concurrency: cancel-in-progress: true jobs: - test: - uses: ./.github/workflows/test.yml + unit: + uses: ./.github/workflows/_includes/unit.yml + e2e: + uses: ./.github/workflows/_includes/e2e.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b8b58ecd26..1018cc808b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,7 +5,7 @@ on: branches: [develop] jobs: - test: - uses: ./.github/workflows/test.yml + unit: + uses: ./.github/workflows/_includes/unit.yml e2e: - uses: ./.github/workflows/e2e.yml + uses: ./.github/workflows/_includes/e2e.yml