mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
ci: ignore js files in unittests (#26937)
* ci: ignore js files in unittests (#26934)
* ci: ignore js files in unittests
- Avoid running python unittests on PRs that ONLY change JS files.
* ci: ignore md files in test workflows
(cherry picked from commit 8a6b82b196)
# Conflicts:
# .github/workflows/server-tests.yml
* fix: resolve conflicts
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
This commit is contained in:
8
.github/workflows/patch.yml
vendored
8
.github/workflows/patch.yml
vendored
@@ -1,6 +1,12 @@
|
|||||||
name: Patch
|
name: Patch
|
||||||
|
|
||||||
on: [pull_request, workflow_dispatch]
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.js'
|
||||||
|
- '**.md'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
12
.github/workflows/server-tests.yml
vendored
12
.github/workflows/server-tests.yml
vendored
@@ -1,6 +1,16 @@
|
|||||||
name: Server
|
name: Server
|
||||||
|
|
||||||
on: [pull_request, workflow_dispatch]
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.js'
|
||||||
|
- '**.md'
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [ develop ]
|
||||||
|
paths-ignore:
|
||||||
|
- '**.js'
|
||||||
|
- '**.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
2
.github/workflows/ui-tests.yml
vendored
2
.github/workflows/ui-tests.yml
vendored
@@ -2,6 +2,8 @@ name: UI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user