Pipe output to tty also so we can see runtime errors
@@ -19,7 +19,7 @@ jobs:
- name: Make dictu and run tests (No HTTP)
run: |
make debug DISABLE_HTTP=1
- ./dictu tests/runTests.du --disable-http | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/tty | grep -q 'Total memory usage: 0'
- name: Remove build directory
run: |
rm -rf build
@@ -27,7 +27,7 @@ jobs:
run: |
sudo apt-get install -y libcurl4-openssl-dev
make debug
- ./dictu tests/runTests.du | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/tty | grep -q 'Total memory usage: 0'
test-mac:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -40,11 +40,11 @@ jobs:
- name: Make dictu and run tests (No HTTP)
run: |
make debug DISABLE_HTTP=1
- ./dictu tests/runTests.du --disable-http | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/tty | grep -q 'Total memory usage: 0'
- name: Remove build directory
run: |
rm -rf build
- name: Make dictu and run tests
run: |
make debug
- ./dictu tests/runTests.du | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/tty | grep -q 'Total memory usage: 0'
