File tree Expand file tree Collapse file tree
tests/unit/torch/speculative Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 # NOTE: paths cannot be used since push happens to copied PR and only latest commit to PR is used
77 schedule :
88 - cron : " 0 0 * * *" # Nightly
9- workflow_dispatch : # On-demand
9+ workflow_dispatch :
10+ # On-demand
11+
1012
11- # Cancel previous runs if new commit is pushed to the same PR
1213concurrency :
14+ # Cancel previous runs if new commit is pushed to the same PR
1315 group : ${{ github.workflow }}-${{ startsWith(github.ref, 'refs/heads/pull-request/') && github.ref || github.sha }}
1416 cancel-in-progress : true
1517
Original file line number Diff line number Diff line change 66 # NOTE: paths cannot be used since push happens to copied PR and only latest commit to PR is used
77 schedule :
88 - cron : " 0 0 * * *" # Nightly
9- workflow_dispatch : # On-demand
9+ workflow_dispatch :
10+ # On-demand
11+
1012
11- # Cancel previous runs if new commit is pushed to the same PR
1213concurrency :
14+ # Cancel previous runs if new commit is pushed to the same PR
1315 group : ${{ github.workflow }}-${{ startsWith(github.ref, 'refs/heads/pull-request/') && github.ref || github.sha }}
1416 cancel-in-progress : true
1517
@@ -101,8 +103,7 @@ jobs:
101103 COVERAGE_PROCESS_START : ${{ github.workspace }}/pyproject.toml
102104 COVERAGE_FILE : ${{ github.workspace }}/.coverage
103105 run : |
104- pip install nox
105- nox -s ${{ matrix.example }}
106+ python -m pip install nox && nox -s ${{ matrix.example }}
106107 - name : Upload GPU coverage to Codecov
107108 uses : codecov/codecov-action@v5
108109 with :
Original file line number Diff line number Diff line change 1515 - " tools/launcher/**"
1616 schedule :
1717 - cron : " 0 0 * * *" # Nightly
18- workflow_dispatch : # On-demand
18+ workflow_dispatch :
19+ # On-demand
20+
1921
20- # Cancel previous runs if new commit is pushed
2122concurrency :
23+ # Cancel previous runs if new commit is pushed
2224 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
2325 cancel-in-progress : true
2426
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ import platform
17+
18+
19+ # `Compiler: cl is not found` on Windows
20+ def pytest_ignore_collect (collection_path , config ):
21+ return platform .system () == "Windows"
You can’t perform that action at this time.
0 commit comments