Skip to content

Commit 92340ba

Browse files
authored
rapids infra ci activation (#385)
* rapids infra ci activation * change name premerge
1 parent d9aaf9c commit 92340ba

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/gpu-ci.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@ name: GPU CI
22

33
on:
44
workflow_dispatch:
5-
pull_request:
6-
branches: [main]
7-
types: [opened, synchronize, reopened]
8-
9-
concurrency:
10-
group: ${{ github.workflow }}-${{ github.ref }}
11-
cancel-in-progress: true
5+
push:
6+
branches:
7+
- main
8+
- "pull-request/[0-9]+"
9+
tags:
10+
- "v[0-9]+.[0-9]+.[0-9]+"
1211

1312
jobs:
1413
gpu-ci-premerge:
15-
runs-on: 1GPU
14+
runs-on: linux-amd64-gpu-p100-latest-1
15+
container:
16+
image: nvcr.io/nvstaging/merlin/merlin-ci-runner:latest
17+
env:
18+
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
19+
options: --shm-size=1G
20+
credentials:
21+
username: $oauthtoken
22+
password: ${{ secrets.NGC_TOKEN }}
1623

1724
steps:
1825
- uses: actions/checkout@v3
@@ -27,4 +34,4 @@ jobs:
2734
raw=$(git branch -r --contains ${{ github.ref_name }})
2835
branch=${raw/origin\/}
2936
fi
30-
cd ${{ github.workspace }}; tox -e test-gpu -- $branch
37+
tox -e test-gpu -- $branch

0 commit comments

Comments
 (0)