Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 7fad620

Browse files
lwfacebook-github-bot
authored andcommitted
Make ./setup.py test auto-discover and run tests (#66)
Summary: ## Motivation and Context / Related issue Allows users (and our continuous integration) to run all tests without having to manually list them. ## How Has This Been Tested (if it applies) Look at the CircleCI build for this PR. Pull Request resolved: #66 Reviewed By: adamlerer Differential Revision: D15873577 Pulled By: lerks fbshipit-source-id: 35f25734be66a0321dff5a52c0e23c589b8b89a5
1 parent bd3b22c commit 7fad620

3 files changed

Lines changed: 2 additions & 13 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,4 @@ jobs:
4141
name: Test all the things!
4242
command: |
4343
. ~/venv/bin/activate
44-
python3 test/test_batching.py
45-
python3 test/test_bucket_scheduling.py
46-
python3 test/test_distributed.py
47-
python3 test/test_edgelist.py
48-
python3 test/test_entitylist.py
49-
python3 test/test_fileio.py
50-
python3 test/test_functional.py
51-
python3 test/test_losses.py
52-
python3 test/test_model.py
53-
python3 test/test_schema.py
54-
python3 test/test_stats.py
55-
python3 test/test_train.py
56-
python3 test/test_util.py
44+
python3 setup.py test

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ keywords =
3333
knowledge-base
3434
graph-embedding
3535
link-prediction
36+
test_suite = test
3637

3738
[options]
3839
setup_requires =

test/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)