mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 18:34:48 +00:00
Merge pull request #48819 from frappe/mergify/bp/version-15-hotfix/pr-39555
ci: Add fake passing tests when CI is skipped (backport #39555)
This commit is contained in:
23
.github/workflows/patch_faux.yml
vendored
Normal file
23
.github/workflows/patch_faux.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Tests are skipped for these files but github doesn't allow "passing" hence this is required.
|
||||||
|
|
||||||
|
name: Skipped Patch Test
|
||||||
|
permissions: none
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.js"
|
||||||
|
- "**.css"
|
||||||
|
- "**.md"
|
||||||
|
- "**.html"
|
||||||
|
- "**.csv"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
name: Patch Test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Pass skipped tests unconditionally
|
||||||
|
run: "echo Skipped"
|
||||||
25
.github/workflows/server-tests-mariadb-faux.yml
vendored
Normal file
25
.github/workflows/server-tests-mariadb-faux.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Tests are skipped for these files but github doesn't allow "passing" hence this is required.
|
||||||
|
|
||||||
|
name: Skipped Tests
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.js"
|
||||||
|
- "**.css"
|
||||||
|
- "**.md"
|
||||||
|
- "**.html"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
container: [1, 2, 3, 4]
|
||||||
|
|
||||||
|
name: Python Unit Tests
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Pass skipped tests unconditionally
|
||||||
|
run: "echo Skipped"
|
||||||
Reference in New Issue
Block a user