Unverified Commit 53bb8682 authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[worfklow] added coverage test (#2399)

* [worfklow] added coverage test

* polish code

* polish code

* polish code

* polish code

* polish code

* polish code

* polish code

* polish code
parent ea13a201
......@@ -20,6 +20,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Find the changed files
id: find-changed-files
uses: tj-actions/changed-files@v35
......@@ -75,7 +76,7 @@ jobs:
- name: Unit Testing
run: |
PYTHONPATH=$PWD pytest tests
PYTHONPATH=$PWD pytest --cov=. --cov-report lcov tests
env:
DATA: /data/scratch/cifar-10
NCCL_SHM_DISABLE: 1
......
......@@ -151,3 +151,6 @@ colossalai/version.py
# ignore python interface defition file
.pyi
# ignore coverage test file
converage.lcov
fbgemm-gpu==0.2.0
pytest
pytest-cov
torchvision
transformers
timm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment