diff --git a/.github/workflows/build_on_push.yml b/.github/workflows/build_on_push.yml deleted file mode 100644 index bc278450d3069..0000000000000 --- a/.github/workflows/build_on_push.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Build packages (on push) - -# This workflow runs when any of the following occur: -# - On push to branches named after ci/* -on: - push: - # Sequence of patterns matched against refs/heads - branches: - - "ci/*" - -jobs: - call-build-workflow: - uses: ./.github/workflows/build.yml - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000000..f64712e90bd53 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +# This workflow runs when any of the following occur: +# - On push to branches named after ci/* +on: + pull_request: + # Sequence of patterns matched against refs/heads + branches: + - "migrate-*" + - "ci/*" + +jobs: + call-test-workflow: + # uses: ./.github/workflows/test.yml + runs-on: ubuntu-22.04 + steps: + - run: | + ./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE + call-build-workflow: + uses: ./.github/workflows/build.yml + secrets: inherit