Add relevant path based exclusions for all github actions.

pull/7657/head
Richard Tibbles 2 years ago
parent aeee241bd4
commit 204f2b04f9
  1. 4
      .github/workflows/c_extensions.yml
  2. 3
      .github/workflows/check_docs.yml
  3. 2
      .github/workflows/check_licenses.yml
  4. 3
      .github/workflows/no_zombies.yml
  5. 11
      .github/workflows/pre-commit.yml
  6. 8
      .github/workflows/python2lint.yml
  7. 10
      .github/workflows/tox.yml
  8. 12
      .github/workflows/yarn.yml

@ -2,6 +2,10 @@ name: Static dependencies with and without C extensions
on:
push:
paths:
- '**.py'
- 'requirements/base.txt'
- 'requirements/build.txt'
pull_request:
paths:
- '**.py'

@ -2,6 +2,9 @@ name: Docs
on:
push:
paths:
- 'docs/**'
- 'requirements/docs.txt'
pull_request:
paths:
- 'docs/**'

@ -2,6 +2,8 @@ name: Licenses
on:
push:
paths:
- 'requirements/*.txt'
pull_request:
paths:
- 'requirements/*.txt'

@ -2,6 +2,9 @@ name: No zombie threads
on:
push:
paths:
- '**.py'
- 'requirements/base.txt'
pull_request:
paths:
- '**.py'

@ -1,6 +1,15 @@
name: Linting
on: [push, pull_request]
on:
push:
paths-ignore:
- '**.po'
- '**.json'
pull_request:
paths-ignore:
- '**.po'
- '**.json'
jobs:
linting:

@ -1,6 +1,12 @@
name: Python 2 linting
on: [push, pull_request]
on:
push:
paths:
- 'kolibri/**.py'
pull_request:
paths:
- 'kolibri/**.py'
jobs:
lint:

@ -1,6 +1,14 @@
name: Python tests
on: [push, pull_request]
on:
push:
paths:
- '**.py'
- 'requirements/*.txt'
pull_request:
paths:
- '**.py'
- 'requirements/*.txt'
jobs:
unit_test:

@ -1,6 +1,16 @@
name: Javascript Tests
on: [push, pull_request]
on:
push:
paths:
- '**.vue'
- '**.js'
- 'yarn.lock'
pull_request:
paths:
- '**.vue'
- '**.js'
- 'yarn.lock'
jobs:
test:

Loading…
Cancel
Save