File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,10 @@ jobs:
112112 THREADS_DEBUG : false
113113 NODE_HOSTNAME : ' localhost'
114114 run : |
115- node ./dist/bin/harper.js install
115+ mkdir -p /tmp/hdb/log
116+ node ./dist/bin/harper.js install > /tmp/hdb/log/install-stdout.log 2> /tmp/hdb/log/install-stderr.log
116117 sleep 10
117- node ./dist/bin/harper.js start
118+ node ./dist/bin/harper.js start > /tmp/hdb/log/start-stdout.log 2> /tmp/hdb/log/start-stderr.log &
118119 sleep 10
119120
120121 - name : Run API Tests
@@ -125,12 +126,13 @@ jobs:
125126 run : npm run test:integration:api-tests
126127
127128 - name : Upload Harper logs
128- if : steps.run-api-tests.outcome == ' failure'
129+ if : failure()
129130 uses : actions/upload-artifact@v7
130131 with :
131132 name : harper-integration-api-test-logs-node-${{ matrix.node-version }}
132- path : /tmp/hdb/log/hdb.log
133- retention-days : 2
133+ path : /tmp/hdb/log/
134+ retention-days : 3
135+ if-no-files-found : ignore
134136
135137 run-integration-tests :
136138 name : Integration Tests ${{matrix.shard}}/4 (Node.js v${{ matrix.node-version }})
You can’t perform that action at this time.
0 commit comments