Skip to content
Snippets Groups Projects
Unverified Commit d344686b authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

[CI] Optimize workflows - skip runs on unrelated changes (#26518)

* Simplify filter glob pattern for frontend tests

Take a look at the cheat sheet:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet

'**/docs/**' matches `docs/hello.md` and `dir/docs/my-file.txt`

* Ignore unrelated paths for `backend` workflow even in `master`

* Ignore unrelated paths for `drivers` workflow even in `master`

* Ignore clojure tests in E2E workflows

* Increase the ignored paths scope for `uberjar` workflow
parent a783bf9d
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,19 @@
name: Backend
on:
push:
branches:
- 'master'
- 'release-**'
paths:
- "docs/**"
- "**.md"
- "**/frontend/test/**"
pull_request:
paths:
- "docs/**"
- "**.md"
- "frontend/test/**"
- "enterprise/frontend/test/**"
- "**/frontend/test/**"
jobs:
......
......@@ -5,12 +5,15 @@ on:
branches:
- 'master'
- 'release-**'
paths-ignore:
- "docs/**"
- "**.md"
- "**/frontend/test/**"
pull_request:
paths-ignore:
- "docs/**"
- "**.md"
- "frontend/test/**"
- "enterprise/frontend/test/**"
- "**/frontend/test/**"
jobs:
......
......@@ -4,12 +4,19 @@
name: Driver Tests
on:
push:
branches:
- 'master'
- 'release-**'
paths:
- "docs/**"
- "**.md"
- "**/frontend/test/**"
pull_request:
paths:
- "docs/**"
- "**.md"
- "frontend/test/**"
- "enterprise/frontend/test/**"
- "**/frontend/test/**"
jobs:
......
......@@ -5,13 +5,16 @@ on:
branches:
- 'master'
- 'release-**'
paths-ignore:
- "docs/**"
- "**.md"
- "**/frontend/test/**"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- "docs/**"
- "**.md"
- "frontend/test/**"
- "enterprise/frontend/test/**"
- "**/frontend/test/**"
jobs:
......
......@@ -10,6 +10,7 @@ on:
- "**.md"
- ".circleci/**"
- "**.unit.spec.*"
- "**_test.clj"
jobs:
......
......@@ -11,6 +11,7 @@ on:
- "**.md"
- ".circleci/**"
- "**.unit.spec.*"
- "**_test.clj"
jobs:
e2e-tests:
......
......@@ -8,6 +8,7 @@ on:
- "**.md"
- ".circleci/**"
- "**.unit.spec.*"
- "**_test.clj"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
......
......@@ -4,10 +4,11 @@ on:
push:
paths-ignore:
- 'docs/**'
- 'frontend/test/**'
- 'enterprise/frontend/test/**'
- "**.md"
- '**/frontend/test/**'
- ".**"
- "test*"
- "**_test.clj"
jobs:
build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment