mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
Test reporting in CircleCI (#1452)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1452 Reviewed By: mdouze Differential Revision: D24269693 Pulled By: beauby fbshipit-source-id: a1a98d263ef4b20107c845421615b1f35b52c6e2
This commit is contained in:
parent
8e44bff055
commit
52c6465a5e
@ -22,6 +22,7 @@ jobs:
|
||||
name: Test faiss library
|
||||
command: |
|
||||
make -C build -j faiss_test
|
||||
export GTEST_OUTPUT="xml:$(realpath .)/test-results/googletest/"
|
||||
make -C build test
|
||||
- run:
|
||||
name: Build python extension
|
||||
@ -32,8 +33,11 @@ jobs:
|
||||
- run:
|
||||
name: Test python extension
|
||||
command: |
|
||||
pip3 install pytest
|
||||
export PYTHONPATH="$(ls -d ./build/faiss/python/build/lib*/)"
|
||||
python3 -m unittest discover ./tests
|
||||
pytest --junitxml=test-results/pytest/results.xml ./tests
|
||||
- store_test_results:
|
||||
path: test-results
|
||||
|
||||
build_osx:
|
||||
macos:
|
||||
@ -64,6 +68,7 @@ jobs:
|
||||
name: Test faiss library
|
||||
command: |
|
||||
make -C build -j faiss_test
|
||||
export GTEST_OUTPUT="xml:$PWD/test-results/googletest/"
|
||||
make -C build test
|
||||
- run:
|
||||
name: Build python extension
|
||||
@ -74,7 +79,11 @@ jobs:
|
||||
- run:
|
||||
name: Test python extension
|
||||
command: |
|
||||
PYTHONPATH="$(ls -d ./build/faiss/python/build/lib*/)" python3 -m unittest discover ./tests
|
||||
pip3 install pytest
|
||||
export PYTHONPATH="$(ls -d ./build/faiss/python/build/lib*/)"
|
||||
pytest --junitxml=test-results/pytest/results.xml ./tests
|
||||
- store_test_results:
|
||||
path: test-results
|
||||
|
||||
build_windows:
|
||||
executor:
|
||||
|
Loading…
x
Reference in New Issue
Block a user