Skip to content

Commit ca1ab78

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 Reviewed By: ramilbakhshyiev Differential Revision: D61972433 fbshipit-source-id: 1825e6ebea56279e4d8d8c6480841985c1626674
1 parent c418b30 commit ca1ab78

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)