diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13be001f..1f67e80f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: push: branches-ignore: [main] workflow_dispatch: + workflow_call: jobs: linux-unit-tests: diff --git a/.github/workflows/testWithCoreBundle.yml b/.github/workflows/testWithCoreBundle.yml new file mode 100644 index 00000000..3f61ee0d --- /dev/null +++ b/.github/workflows/testWithCoreBundle.yml @@ -0,0 +1,21 @@ +name: Test With Core Bunde +on: + push: + branches-ignore: [main] + workflow_dispatch: + inputs: + branch: + description: 'Set the branch to test core bundle' + type: string + required: false + default: main + +jobs: + build: + name: Call build workflow + uses: forcedotcom/bundle-publish-scripts/.github/workflows/build.yml@main + with: + branch: ${{ github.ref_name || inputs.branch }} + tests: + name: Call tests workflow + uses: ./.github/workflows/test.yml