Skip to content

Commit 3deab9e

Browse files
EMaherCopilot
andcommitted
refactor: use ci.yml as reusable workflow, remove redundant test workflows
Add workflow_call trigger to ci.yml so release-tests.yml can call it directly. Remove test-unit.yml and test-build-package.yml since ci.yml already covers both unit and build-package tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 42367db commit 3deab9e

4 files changed

Lines changed: 5 additions & 63 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_call:
78

89
permissions:
910
contents: read

.github/workflows/release-tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,13 @@ permissions:
3939
contents: read
4040

4141
jobs:
42-
unit-tests:
43-
name: Unit Tests
44-
uses: ./.github/workflows/test-unit.yml
45-
46-
build-package:
47-
name: Build Package Integration Test
48-
needs: unit-tests
49-
uses: ./.github/workflows/test-build-package.yml
42+
ci:
43+
name: CI (Unit + Build Package Tests)
44+
uses: ./.github/workflows/ci.yml
5045

5146
all-types-integration:
5247
name: All-Types Integration Test
53-
needs: build-package
48+
needs: ci
5449
uses: ./.github/workflows/integration-test.yml
5550
with:
5651
sku: ${{ inputs.sku }}

.github/workflows/test-build-package.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/test-unit.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)