diff --git a/.github/workflows/cpu-inference.yml b/.github/workflows/cpu-inference.yml index a2ca41f4aa3a..e6edb425e407 100644 --- a/.github/workflows/cpu-inference.yml +++ b/.github/workflows/cpu-inference.yml @@ -2,13 +2,19 @@ name: cpu-inference on: pull_request: - paths-ignore: - - 'docs/**' - - 'blogs/**' + paths: + - '.github/workflows/cpu-inference.yml' + - 'requirements/**' + - 'deepspeed/__init__.py' + - 'deepspeed/inference/**' + - '!deepspeed/inference/v2/**' # exclude v2 dir + - 'tests/unit/inference/**' + - '!tests/unit/inference/v2/**' # exclude v2 tests dir workflow_dispatch: merge_group: branches: [ master ] - + schedule: + - cron: "0 0 * * 0" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/nv-inference.yml b/.github/workflows/nv-inference.yml index 156fa0228d0b..37c8be32ee54 100644 --- a/.github/workflows/nv-inference.yml +++ b/.github/workflows/nv-inference.yml @@ -2,11 +2,14 @@ name: nv-inference on: pull_request: - paths-ignore: - - 'docs/**' - - 'blogs/**' - - 'deepspeed/inference/v2/**' - - 'tests/unit/inference/v2/**' + paths: + - '.github/workflows/nv-inference.yml' + - 'requirements/**' + - 'deepspeed/__init__.py' + - 'deepspeed/inference/**' + - '!deepspeed/inference/v2/**' # exclude v2 dir + - 'tests/unit/inference/**' + - '!tests/unit/inference/v2/**' # exclude v2 tests dir merge_group: branches: [ master ] schedule: