Skip to content

Commit faf132d

Browse files
committed
fix: change tty
1 parent e3416cc commit faf132d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/self-hosted.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,16 @@ jobs:
6464
working-directory: ${{ env.build_dir }}
6565
run: |
6666
chmod +x scripts/run_tests_fallback.sh
67-
if ./scripts/run_tests_fallback.sh | tee /dev/tty | grep -qE "FAILED|ERROR"; then
67+
tty=$(readlink /proc/$$/fd/2)
68+
if ./scripts/run_tests_fallback.sh | tee $tty | grep -qE "FAILED|ERROR"; then
6869
exit 1
6970
fi
7071
7172
- name: Run regression-tests
7273
working-directory: ${{ env.build_dir }}/python
7374
run: |
7475
chmod +x run_tests.sh
75-
if ./run_tests.sh | tee /dev/tty | grep -qE "FAILED|ERROR"; then
76+
tty=$(readlink /proc/$$/fd/2)
77+
if ./run_tests.sh | tee $tty | grep -qE "FAILED|ERROR"; then
7678
exit 1
7779
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: "11.6"
21+
cuda: "11.7"
2222
gcc: 11
2323
env:
2424
build_dir: "build"

0 commit comments

Comments
 (0)