Skip to content

Commit 96eae38

Browse files
committed
use /dev/shm (ramdisk) for datadir in CI in ubuntu
1 parent 840f720 commit 96eae38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99

1010
test:
1111
runs-on: ${{ matrix.os }}
12+
env:
13+
RUST_LOG: bitcoind=debug
1214
strategy:
1315
fail-fast: false
1416
matrix:
@@ -29,6 +31,8 @@ jobs:
2931
with:
3032
toolchain: stable
3133
override: true
34+
- run: echo "TEMPDIR_ROOT=/dev/shm" >> $GITHUB_ENV
35+
if: ${{ matrix.os != 'macos-10.15' }}
3236
- uses: actions-rs/cargo@v1
3337
with:
3438
command: test

0 commit comments

Comments
 (0)