Skip to content

Commit

Permalink
ci: adopt shared actions
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Nov 26, 2024
1 parent 0fd50b5 commit 476df76
Show file tree
Hide file tree
Showing 12 changed files with 168 additions and 513 deletions.
19 changes: 19 additions & 0 deletions .github/helper/db/mariadb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"db_host": "127.0.0.1",
"db_port": 3306,
"db_name": "test_frappe",
"db_password": "test_frappe",
"auto_email_id": "[email protected]",
"mail_server": "smtp.example.com",
"mail_login": "[email protected]",
"mail_password": "test",
"admin_password": "admin",
"root_login": "root",
"root_password": "db_root",
"host_name": "http://test_site:8000",
"install_apps": [
"payments",
"erpnext"
],
"throttle_user_limit": 100
}
21 changes: 21 additions & 0 deletions .github/helper/db/postgres.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"db_host": "127.0.0.1",
"db_port": 5432,
"db_name": "test_frappe",
"db_password": "test_frappe",
"db_type": "postgres",
"allow_tests": true,
"auto_email_id": "[email protected]",
"mail_server": "smtp.example.com",
"mail_login": "[email protected]",
"mail_password": "test",
"admin_password": "admin",
"root_login": "postgres",
"root_password": "db_root",
"host_name": "http://test_site:8000",
"install_apps": [
"payments",
"erpnext"
],
"throttle_user_limit": 100
}
16 changes: 0 additions & 16 deletions .github/helper/site_config_mariadb.json

This file was deleted.

18 changes: 0 additions & 18 deletions .github/helper/site_config_postgres.json

This file was deleted.

161 changes: 0 additions & 161 deletions .github/workflows/patch.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/patch_faux.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/server-tests-faux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Tests are skipped for these files but github doesn't allow "passing" hence this is required.

name: Skipped Tests

on:
pull_request:
paths:
- "**.js"
- "**.css"
- "**.md"
- "**.html"

jobs:
test:
name: Tests
uses: frappe/frappe/.github/workflows/_base-server-tests.yml@develop
with:
fake-success: true

migrate:
name: Migration
uses: frappe/frappe/.github/workflows/_base-migration.yml@develop
with:
fake-success: true
24 changes: 0 additions & 24 deletions .github/workflows/server-tests-mariadb-faux.yml

This file was deleted.

Loading

0 comments on commit 476df76

Please sign in to comment.