mirror of https://github.com/hpcaitech/ColossalAI
enable CI after PR sync (#97)
parent
a951bc6089
commit
d09a79bad5
|
@ -1,7 +1,7 @@
|
||||||
name: Build
|
name: Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [review_requested]
|
types: [review_requested, synchronize]
|
||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ jobs:
|
||||||
image: nvcr.io/nvidia/pytorch:21.07-py3
|
image: nvcr.io/nvidia/pytorch:21.07-py3
|
||||||
options: --gpus all --rm --ipc=host -v /data/cifar-10:/data/cifar-10
|
options: --gpus all --rm --ipc=host -v /data/cifar-10:/data/cifar-10
|
||||||
timeout-minutes: 1200
|
timeout-minutes: 1200
|
||||||
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && toJson(github.event.pull_request.requested_reviewers) != '[]'
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue