Skip to content

Commit 0b09894

Browse files
leofangshwina
andauthored
[Backport] Minor CI improvements (#400)
* Minor CI improvements * try to add a dummy config to make pre-commit ci happy * [skip pre-commit.ci] * Try repos = [] * Fix config --------- Co-authored-by: Ashwin Srinath <[email protected]>
1 parent 8d4b5a2 commit 0b09894

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
name: Build (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }})
3535
if: ${{ github.repository_owner == 'nvidia' }}
3636
permissions:
37-
id-token: write # This is required for configure-aws-credentials
3837
contents: read # This is required for actions/checkout
3938
runs-on: ${{ (matrix.host-platform == 'linux-64' && 'linux-amd64-cpu8') ||
4039
(matrix.host-platform == 'linux-aarch64' && 'linux-arm64-cpu8') ||
@@ -105,7 +104,7 @@ jobs:
105104
PARALLEL_LEVEL=${{ env.PARALLEL_LEVEL }}
106105
CIBW_ENVIRONMENT_WINDOWS: >
107106
CUDA_HOME="$(cygpath -w ${{ env.CUDA_PATH }})"
108-
# PARALLEL_LEVEL=${{ env.PARALLEL_LEVEL }}
107+
PARALLEL_LEVEL=${{ env.PARALLEL_LEVEL }}
109108
with:
110109
package-dir: ./cuda_bindings/
111110
output-dir: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
@@ -196,10 +195,10 @@ jobs:
196195
- host-platform: linux-64
197196
python-version: "3.12"
198197
cuda-version: "11.8.0"
198+
local-ctk: 0
199199
runner: H100
200200
name: Test (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }}, Runner ${{ matrix.runner }}, ${{ (matrix.local-ctk == '1' && 'local CTK') || 'CTK wheels' }})
201-
# The build stage could fail but we want the CI to keep moving.
202-
if: ${{ github.repository_owner == 'nvidia' && always() }}
201+
if: ${{ github.repository_owner == 'nvidia' }}
203202
permissions:
204203
id-token: write # This is required for configure-aws-credentials
205204
contents: read # This is required for actions/checkout

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repos: []

0 commit comments

Comments
 (0)