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
  • Loading branch information
ankush authored Aug 13, 2021
1 parent facd250 commit 9e503fb
Show file tree
Hide file tree
Showing 3 changed files with 15 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
6 changes: 6 additions & 0 deletions .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: Server

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 9e503fb

Please sign in to comment.