Skip to content

Commit a9104a7

Browse files
authored
Update gh actions on push (#2868)
* Update unit-tests.yml * Removed push option
1 parent f33b614 commit a9104a7

File tree

5 files changed

+6
-30
lines changed

5 files changed

+6
-30
lines changed

.github/workflows/code-style.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,13 @@ on:
1515
- "!docs/**"
1616
- "!conda.recipe"
1717

18-
# pull_request:
19-
# paths:
20-
2118

2219
jobs:
2320
code-style:
2421
runs-on: ubuntu-latest
2522
steps:
2623
- if: github.event_name == 'push'
2724
uses: actions/checkout@v3
28-
# - if: github.event_name == 'pull_request'
29-
# uses: actions/checkout@v2
30-
# with:
31-
# ref: ${{ github.head_ref }}
32-
3325
- uses: actions/setup-python@v4
3426
with:
3527
python-version: "3.8"

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: Build docs
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request:
68
paths-ignore:
79
- "tests/**"
810
- "docker/**"
911
release:
1012
types: [published]
13+
workflow_dispatch:
1114

1215
jobs:
1316
build-deploy:

.github/workflows/hvd-tests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
name: Run Horovod tests
22
on:
3-
push:
4-
paths:
5-
- "ignite/**"
6-
- "tests/ignite/**"
7-
- "tests/run_cpu_tests.sh"
8-
- ".github/workflows/hvd-tests.yml"
93
pull_request:
104
paths:
115
- "ignite/**"
126
- "tests/ignite/**"
137
- "tests/run_cpu_tests.sh"
148
- ".github/workflows/hvd-tests.yml"
9+
workflow_dispatch:
1510

1611
concurrency:
1712
# <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>

.github/workflows/tpu-tests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
name: Run TPU tests
22
on:
3-
push:
4-
paths:
5-
- "ignite/**"
6-
- "tests/ignite/**"
7-
- "tests/run_tpu_tests.sh"
8-
- ".github/workflows/tpu-tests.yml"
93
pull_request:
104
paths:
115
- "ignite/**"
126
- "tests/ignite/**"
137
- "tests/run_tpu_tests.sh"
148
- ".github/workflows/tpu-tests.yml"
9+
workflow_dispatch:
1510

1611
concurrency:
1712
# <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
name: Run unit tests
22
on:
3-
push:
4-
paths:
5-
- "ignite/**"
6-
- "tests/ignite/**"
7-
- "tests/run_cpu_tests.sh"
8-
- "tests/run_code_style.sh"
9-
- "examples/**.py"
10-
- "requirements-dev.txt"
11-
- ".github/workflows/unit-tests.yml"
12-
133
pull_request:
144
paths:
155
- "ignite/**"
@@ -19,6 +9,7 @@ on:
199
- "examples/**.py"
2010
- "requirements-dev.txt"
2111
- ".github/workflows/unit-tests.yml"
12+
workflow_dispatch:
2213

2314
concurrency:
2415
# <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>

0 commit comments

Comments
 (0)