Skip to content

Commit bb87874

Browse files
committed
check
1 parent 9b71840 commit bb87874

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ jobs:
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
@@ -58,8 +61,8 @@ jobs:
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

workflow_helpers/relocate_build_binaries/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)