Browse 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 2 years ago
parent
commit
a7ab78bde1
4 changed files with 10 additions and 11 deletions
  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 View File

@@ -1,7 +1,8 @@
name: Patch

on: [pull_request, workflow_dispatch]
name: Server (MariaDB)


on:
pull_request:
workflow_dispatch:


concurrency: concurrency:
group: patch-mariadb-develop-${{ github.event.number }} group: patch-mariadb-develop-${{ github.event.number }}
@@ -12,11 +13,10 @@ permissions:


jobs: jobs:
test: test:
name: Patch
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60


name: Patch Test

services: services:
mariadb: mariadb:
image: mariadb:10.6 image: mariadb:10.6


+ 1
- 0
.github/workflows/publish-assets-develop.yml View File

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


on: on:
workflow_dispatch:
push: push:
branches: [ develop ] branches: [ develop ]




+ 2
- 3
.github/workflows/server-mariadb-tests.yml View File

@@ -1,4 +1,4 @@
name: Server
name: Server (MariaDB)


on: on:
pull_request: pull_request:
@@ -16,6 +16,7 @@ permissions:


jobs: jobs:
test: test:
name: Unit Tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60


@@ -24,8 +25,6 @@ jobs:
matrix: matrix:
container: [1, 2] container: [1, 2]


name: Python Unit Tests (MariaDB)

services: services:
mariadb: mariadb:
image: mariadb:10.6 image: mariadb:10.6


+ 2
- 3
.github/workflows/server-postgres-tests.yml View File

@@ -1,4 +1,4 @@
name: Server
name: Server (Postgres)


on: on:
pull_request: pull_request:
@@ -15,6 +15,7 @@ permissions:


jobs: jobs:
test: test:
name: Unit Tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60


@@ -23,8 +24,6 @@ jobs:
matrix: matrix:
container: [1, 2] container: [1, 2]


name: Python Unit Tests (Postgres)

services: services:
postgres: postgres:
image: postgres:12.4 image: postgres:12.4


Loading…
Cancel
Save