diff --git a/.github/workflows/patch-mariadb-tests.yml b/.github/workflows/patch-mariadb-tests.yml deleted file mode 100644 index 6a00f2f98d..0000000000 --- a/.github/workflows/patch-mariadb-tests.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Patch (MariaDB) - -on: - pull_request: - workflow_dispatch: - -concurrency: - group: patch-mariadb-develop-${{ github.event_name }}-${{ github.event.number }} - cancel-in-progress: true - -permissions: - # Do not change this as GITHUB_TOKEN is being used by roulette - contents: read - -jobs: - checkrun: - name: Plan Migration - runs-on: ubuntu-latest - - outputs: - build: ${{ steps.check-build.outputs.build }} - - steps: - - name: Clone - uses: actions/checkout@v4 - - - name: Check if build should be run - id: check-build - run: | - python "${GITHUB_WORKSPACE}/.github/helper/roulette.py" - env: - TYPE: "server" - PR_NUMBER: ${{ github.event.number }} - REPO_NAME: ${{ github.repository }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - migrate: - name: Migration - needs: checkrun - uses: frappe/frappe/.github/workflows/patch-base.yml@develop - with: - python-version: '3.10' - node-version: 20 - fake-success: ${{ needs.checkrun.outputs.build != 'strawberry' }} diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index a5beb840fb..5fa9967045 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -51,6 +51,14 @@ jobs: needs: checkrun secrets: inherit + migrate: + name: Migration + needs: checkrun + uses: frappe/frappe/.github/workflows/patch-base.yml@develop + with: + python-version: '3.10' + node-version: 20 + fake-success: ${{ needs.checkrun.outputs.build != 'strawberry' }} coverage: name: Coverage Wrap Up