Skip to content

Commit

Permalink
ci: ignore js files in unittests (#26937)
Browse files Browse the repository at this point in the history
* 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 8a6b82b)

# Conflicts:
#	.github/workflows/server-tests.yml

* fix: resolve conflicts

Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
  • Loading branch information
frappe-pr-bot and ankush authored Aug 13, 2021
1 parent cb583a3 commit 7881536
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/patch.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Patch

on: [pull_request, workflow_dispatch]
on:
pull_request:
paths-ignore:
- '**.js'
- '**.md'
workflow_dispatch:


jobs:
test:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: Server

on: [pull_request, workflow_dispatch]
on:
pull_request:
paths-ignore:
- '**.js'
- '**.md'
workflow_dispatch:
push:
branches: [ develop ]
paths-ignore:
- '**.js'
- '**.md'

jobs:
test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: UI

on:
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 7881536

Please sign in to comment.