From a7ab78bde1439672fe49fe6a544a5baf372a3dcb Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 25 Jul 2022 14:35:16 +0530 Subject: [PATCH] ci(minor): Actions * Rename CI actions to add database_type * Add workflow_dispatch to assets build action on develop * Rename unit test jobs for better labelling on PR check titles * Rename Patch action for consistency --- .github/workflows/patch-mariadb-tests.yml | 10 +++++----- .github/workflows/publish-assets-develop.yml | 1 + .github/workflows/server-mariadb-tests.yml | 5 ++--- .github/workflows/server-postgres-tests.yml | 5 ++--- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/patch-mariadb-tests.yml b/.github/workflows/patch-mariadb-tests.yml index e18cbf53ba..3412fe7503 100644 --- a/.github/workflows/patch-mariadb-tests.yml +++ b/.github/workflows/patch-mariadb-tests.yml @@ -1,7 +1,8 @@ -name: Patch - -on: [pull_request, workflow_dispatch] +name: Server (MariaDB) +on: + pull_request: + workflow_dispatch: concurrency: group: patch-mariadb-develop-${{ github.event.number }} @@ -12,11 +13,10 @@ permissions: jobs: test: + name: Patch runs-on: ubuntu-latest timeout-minutes: 60 - name: Patch Test - services: mariadb: image: mariadb:10.6 diff --git a/.github/workflows/publish-assets-develop.yml b/.github/workflows/publish-assets-develop.yml index 467922e766..12bf9eca55 100644 --- a/.github/workflows/publish-assets-develop.yml +++ b/.github/workflows/publish-assets-develop.yml @@ -1,6 +1,7 @@ name: 'Frappe Assets' on: + workflow_dispatch: push: branches: [ develop ] diff --git a/.github/workflows/server-mariadb-tests.yml b/.github/workflows/server-mariadb-tests.yml index 9e7cffba5d..c8ccfa7862 100644 --- a/.github/workflows/server-mariadb-tests.yml +++ b/.github/workflows/server-mariadb-tests.yml @@ -1,4 +1,4 @@ -name: Server +name: Server (MariaDB) on: pull_request: @@ -16,6 +16,7 @@ permissions: jobs: test: + name: Unit Tests runs-on: ubuntu-latest timeout-minutes: 60 @@ -24,8 +25,6 @@ jobs: matrix: container: [1, 2] - name: Python Unit Tests (MariaDB) - services: mariadb: image: mariadb:10.6 diff --git a/.github/workflows/server-postgres-tests.yml b/.github/workflows/server-postgres-tests.yml index 1741752e6b..9760067197 100644 --- a/.github/workflows/server-postgres-tests.yml +++ b/.github/workflows/server-postgres-tests.yml @@ -1,4 +1,4 @@ -name: Server +name: Server (Postgres) on: pull_request: @@ -15,6 +15,7 @@ permissions: jobs: test: + name: Unit Tests runs-on: ubuntu-latest timeout-minutes: 60 @@ -23,8 +24,6 @@ jobs: matrix: container: [1, 2] - name: Python Unit Tests (Postgres) - services: postgres: image: postgres:12.4