From 7881536e0902c3a0a1155b2e94feb62286be76c7 Mon Sep 17 00:00:00 2001 From: Frappe PR Bot Date: Fri, 13 Aug 2021 13:29:48 +0530 Subject: [PATCH] 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 8a6b82b19629aa0d3d6df767cef8b548623bc520) # Conflicts: # .github/workflows/server-tests.yml * fix: resolve conflicts Co-authored-by: Ankush Menat --- .github/workflows/patch.yml | 8 +++++++- .github/workflows/server-tests.yml | 12 +++++++++++- .github/workflows/ui-tests.yml | 2 ++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index b96a3d6bbed..0f28838d2bf 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -1,6 +1,12 @@ name: Patch -on: [pull_request, workflow_dispatch] +on: + pull_request: + paths-ignore: + - '**.js' + - '**.md' + workflow_dispatch: + jobs: test: diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 92685e2177d..124ed7ad3e9 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -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: diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 0f13e653ecd..e3158ea97ee 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -2,6 +2,8 @@ name: UI on: pull_request: + paths-ignore: + - '**.md' workflow_dispatch: jobs: