ci: join server test and migration test
This commit is contained in:
parent
8ee2fdc6e4
commit
54c9ee29c3
2 changed files with 8 additions and 44 deletions
44
.github/workflows/patch-mariadb-tests.yml
vendored
44
.github/workflows/patch-mariadb-tests.yml
vendored
|
|
@ -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' }}
|
||||
8
.github/workflows/server-tests.yml
vendored
8
.github/workflows/server-tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue