File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,24 @@ name: GPU CI
22
33on :
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
1312jobs :
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
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
You can’t perform that action at this time.
0 commit comments