Skip to content

Commit 5ca9410

Browse files
mengdilinfacebook-github-bot
authored andcommitted
always upload pytest results (facebookresearch#3808)
Summary: Pull Request resolved: facebookresearch#3808 Previously, we only upload the results when the tests passed. It is useful to also upload results of failing tests for debugging Differential Revision: D61972433
1 parent 97e6f48 commit 5ca9410

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/actions/build_cmake/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ runs:
167167
FAISS_DISABLE_CPU_FEATURES=AVX2 LD_DEBUG=libs $CONDA/bin/python -c "import faiss" 2>&1 | grep faiss.so
168168
LD_DEBUG=libs $CONDA/bin/python -c "import faiss" 2>&1 | grep faiss_avx2.so
169169
- name: Upload test results
170+
if: always()
170171
uses: actions/upload-artifact@v4
171172
with:
172173
name: test-results-arch=${{ runner.arch }}-opt=${{ inputs.opt_level }}-gpu=${{ inputs.gpu }}-raft=${{ inputs.raft }}-rocm=${{ inputs.rocm }}

0 commit comments

Comments
 (0)