Skip to content

Commit add6912

Browse files
Minor CI update (#248)
Signed-off-by: Keval Morabia <[email protected]>
1 parent c1eec9a commit add6912

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

.github/workflows/gpu_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
# - ".github/workflows/gpu_tests.yml"
99
# - "modelopt/**"
1010
# - "tests/gpu/**"
11+
# - "pyproject.toml"
1112
# - "setup.py"
1213
# - "tox.ini"
1314

.github/workflows/multi_version_unit_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- ".github/workflows/multi_version_unit_tests.yml"
99
- "modelopt/**"
1010
- "tests/unit/**"
11+
- "pyproject.toml"
1112
- "setup.py"
1213
- "tox.ini"
1314

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
push:
77
branches: [main, release/*]
88

9-
# Cancel previous runs if new commit is pushed to the same PR
9+
# Cancel previous runs if new commit is pushed
1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1212
cancel-in-progress: true
1313

1414
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages

.github/workflows/partial_unit_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- ".github/workflows/partial_unit_tests.yml"
88
- "modelopt/**"
99
- "tests/unit/**"
10+
- "pyproject.toml"
1011
- "setup.py"
1112
- "tox.ini"
1213

.github/workflows/unit_tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@ on:
77
- ".github/workflows/unit_tests.yml"
88
- "modelopt/**"
99
- "tests/unit/**"
10+
- "pyproject.toml"
11+
- "setup.py"
12+
- "tox.ini"
13+
push:
14+
branches: [main, release/*]
15+
paths:
16+
- ".github/workflows/unit_tests.yml"
17+
- "modelopt/**"
18+
- "tests/unit/**"
19+
- "pyproject.toml"
1020
- "setup.py"
1121
- "tox.ini"
1222

13-
# Cancel previous runs if new commit is pushed to the same PR
23+
# Cancel previous runs if new commit is pushed
1424
concurrency:
15-
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
25+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1626
cancel-in-progress: true
1727

1828
jobs:
@@ -33,6 +43,7 @@ jobs:
3343
fail_ci_if_error: true
3444
verbose: true
3545
unit-tests-windows:
46+
if: github.event_name == 'pull_request'
3647
runs-on: windows-latest
3748
timeout-minutes: 30
3849
steps:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
[![Documentation](https://img.shields.io/badge/Documentation-latest-brightgreen.svg?style=flat)](https://nvidia.github.io/TensorRT-Model-Optimizer)
88
[![version](https://img.shields.io/pypi/v/nvidia-modelopt?label=Release)](https://pypi.org/project/nvidia-modelopt/)
99
[![license](https://img.shields.io/badge/License-Apache%202.0-blue)](./LICENSE)
10-
[![codecov](https://codecov.io/github/NVIDIA/TensorRT-Model-Optimizer/graph/badge.svg?token=r1bw4LC1WH)](https://codecov.io/github/NVIDIA/TensorRT-Model-Optimizer)
1110

1211
[Examples](#examples) |
1312
[Documentation](https://nvidia.github.io/TensorRT-Model-Optimizer) |

0 commit comments

Comments
 (0)