Skip to content

Commit e0ce1cb

Browse files
committed
ci: add newlines in output
1 parent 0101c7e commit e0ce1cb

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/self-hosted.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,16 @@ jobs:
6262
steps:
6363
- name: Run unit-tests
6464
working-directory: ${{ env.build_dir }}
65-
run: |
66-
output=$(chmod +x scripts/run_tests_fallback.sh && ./scripts/run_tests_fallback.sh)
67-
echo $output
68-
if echo "$output" | grep -qE "FAILED|ERROR"; then
65+
run:
66+
chmod +x scripts/run_tests_fallback.sh
67+
if ./scripts/run_tests_fallback.sh | tee /dev/tty | grep -qE "FAILED|ERROR"; then
6968
exit 1
7069
fi
7170

7271
- name: Run regression-tests
7372
working-directory: ${{ env.build_dir }}/python
7473
run: |
75-
output=$(chmod +x run_tests.sh && ./run_tests.sh)
76-
echo $output
77-
if echo "$output" | grep -qE "FAILED|ERROR"; then
74+
chmod +x run_tests.sh
75+
if ./run_tests.sh | tee /dev/tty | grep -qE "FAILED|ERROR"; then
7876
exit 1
7977
fi

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
include:
2020
- os: ubuntu-22.04
21-
cuda: "10.1"
21+
cuda: "11.7"
2222
gcc: 8
2323
env:
2424
build_dir: "build"

0 commit comments

Comments
 (0)