File tree Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 8
8
# - ".github/workflows/gpu_tests.yml"
9
9
# - "modelopt/**"
10
10
# - "tests/gpu/**"
11
+ # - "pyproject.toml"
11
12
# - "setup.py"
12
13
# - "tox.ini"
13
14
Original file line number Diff line number Diff line change 8
8
- " .github/workflows/multi_version_unit_tests.yml"
9
9
- " modelopt/**"
10
10
- " tests/unit/**"
11
+ - " pyproject.toml"
11
12
- " setup.py"
12
13
- " tox.ini"
13
14
Original file line number Diff line number Diff line change 6
6
push :
7
7
branches : [main, release/*]
8
8
9
- # Cancel previous runs if new commit is pushed to the same PR
9
+ # Cancel previous runs if new commit is pushed
10
10
concurrency :
11
- group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
11
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12
12
cancel-in-progress : true
13
13
14
14
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Original file line number Diff line number Diff line change 7
7
- " .github/workflows/partial_unit_tests.yml"
8
8
- " modelopt/**"
9
9
- " tests/unit/**"
10
+ - " pyproject.toml"
10
11
- " setup.py"
11
12
- " tox.ini"
12
13
Original file line number Diff line number Diff line change 7
7
- " .github/workflows/unit_tests.yml"
8
8
- " modelopt/**"
9
9
- " 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"
10
20
- " setup.py"
11
21
- " tox.ini"
12
22
13
- # Cancel previous runs if new commit is pushed to the same PR
23
+ # Cancel previous runs if new commit is pushed
14
24
concurrency :
15
- group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
25
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16
26
cancel-in-progress : true
17
27
18
28
jobs :
33
43
fail_ci_if_error : true
34
44
verbose : true
35
45
unit-tests-windows :
46
+ if : github.event_name == 'pull_request'
36
47
runs-on : windows-latest
37
48
timeout-minutes : 30
38
49
steps :
Original file line number Diff line number Diff line change 7
7
[ ![ Documentation] ( https://img.shields.io/badge/Documentation-latest-brightgreen.svg?style=flat )] ( https://nvidia.github.io/TensorRT-Model-Optimizer )
8
8
[ ![ version] ( https://img.shields.io/pypi/v/nvidia-modelopt?label=Release )] ( https://pypi.org/project/nvidia-modelopt/ )
9
9
[ ![ 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 )
11
10
12
11
[ Examples] ( #examples ) |
13
12
[ Documentation] ( https://nvidia.github.io/TensorRT-Model-Optimizer ) |
You can’t perform that action at this time.
0 commit comments