Skip to content

Commit

Permalink
Init CI tests with very basic import test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcasper committed Jan 29, 2021
1 parent f2a3a25 commit 2526c61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
image: gitlab-master.nvidia.com/dl/dgx/pytorch:20.12-py3-devel

test:
script:
- pytest --junitxml=report.xml tests
artifacts:
when: always
reports:
junit: report.xml

3 changes: 3 additions & 0 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def test_import():
import megatron

0 comments on commit 2526c61

Please sign in to comment.