CI/CD: Add Feature - Add azure pipelines for CUDA tests (#44)
* add azure pipelines for CUDA tests
This commit is contained in:
Родитель
5711429403
Коммит
3296265cfa
|
@ -0,0 +1,27 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
trigger:
|
||||
- master
|
||||
- dev
|
||||
|
||||
pool:
|
||||
name: SuperBench CI
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: nvcr.io/nvidia/pytorch:20.12-py3
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
python3 -m pip install .[test,torch]
|
||||
displayName: Install dependencies
|
||||
- script: |
|
||||
python3 setup.py lint
|
||||
displayName: Run code lint
|
||||
- script: |
|
||||
python3 setup.py test
|
||||
displayName: Run unit tests
|
||||
- script: |
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
displayName: Report coverage results
|
Загрузка…
Ссылка в новой задаче