Parcourir la source

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
version-14
Gavin D'souza il y a 2 ans
Parent
révision
a7ab78bde1
4 fichiers modifiés avec 10 ajouts et 11 suppressions
  1. +5
    -5
      .github/workflows/patch-mariadb-tests.yml
  2. +1
    -0
      .github/workflows/publish-assets-develop.yml
  3. +2
    -3
      .github/workflows/server-mariadb-tests.yml
  4. +2
    -3
      .github/workflows/server-postgres-tests.yml

+ 5
- 5
.github/workflows/patch-mariadb-tests.yml Voir le fichier

@@ -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


+ 1
- 0
.github/workflows/publish-assets-develop.yml Voir le fichier

@@ -1,6 +1,7 @@
name: 'Frappe Assets'

on:
workflow_dispatch:
push:
branches: [ develop ]



+ 2
- 3
.github/workflows/server-mariadb-tests.yml Voir le fichier

@@ -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


+ 2
- 3
.github/workflows/server-postgres-tests.yml Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer