File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
workflow_helpers/relocate_build_binaries Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3333 # Build and relocate test binaries to binary_files folder
3434 - name : Build Tests on Mac/Linux
3535 if : runner.os != 'Windows'
36- run : cargo build --tests --message-format=json | node workflow_helpers/relocate_build_binaries binary_files
36+ run : |
37+ cargo build --tests --message-format=json > build_info.txt
38+ echo build_info.txt | node workflow_helpers/relocate_build_binaries binary_files
39+ echo build_info.txt
3740
3841 - name : Archive Tests
3942 uses : actions/upload-artifact@v3
5861 if : runner.os != 'Windows'
5962 run : chmod +x binary_files/*
6063
61- - name : Setup tmate session
62- uses : mxschmitt/action-tmate@v3
64+ # - name: Setup tmate session
65+ # uses: mxschmitt/action-tmate@v3
6366
6467 - name : Execute Test Binaries
6568 run : node workflow_helpers/execute_all_in_folder binary_files
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const extractFilenames = (input) => {
3939 . split ( '\n' )
4040 . map ( JSON . parse )
4141 // just the test binaries
42- . filter ( ( { profile } ) => profile ?. test )
42+ . filter ( ( { profile : { test } } ) => test )
4343 // we want to extra this field
4444 . map ( ( { executable } ) => executable )
4545 // some json output might not have executable key
You can’t perform that action at this time.
0 commit comments