Skip to content

Commit

Permalink
ci: ignore js files in unittests (frappe#26934)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ankush authored and frappe-bot committed Aug 13, 2021
1 parent cb583a3 commit d0fe065
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
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
14 changes: 14 additions & 0 deletions .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: Server

<<<<<<< HEAD
on: [pull_request, workflow_dispatch]
=======
on:
pull_request:
paths-ignore:
- '**.js'
- '**.md'
workflow_dispatch:
push:
branches: [ develop ]
paths-ignore:
- '**.js'
- '**.md'
>>>>>>> 8a6b82b196 (ci: ignore js files in unittests (#26934))

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 d0fe065

Please sign in to comment.