Skip to content

Commit a93e3cf

Browse files
committed
Get rid of stty check
1 parent 5d8ee31 commit a93e3cf

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

.github/workflows/tests.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,6 @@ jobs:
3737
- name: "Checkout code"
3838
uses: actions/[email protected]
3939

40-
# # Install stty required for tests
41-
# - name: Install system dependencies
42-
# if: matrix.operating-system == 'ubuntu-latest'
43-
# run: |
44-
# echo "::group::apt-get update"
45-
# sudo apt-get update
46-
# echo "::endgroup::"
47-
# echo "::group::install tools & libraries"
48-
# sudo apt-get install coreutils
49-
# echo "::endgroup::"
50-
#
51-
# - name: Debug stty
52-
# if: matrix.operating-system == 'ubuntu-latest'
53-
# run: stty 2>&1
54-
#
55-
# - name: Debug stty 2
56-
# run: stty
57-
5840
- name: "Install PHP with extensions"
5941
uses: shivammathur/[email protected]
6042
with:

tests/Command/AddUserCommandTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,8 @@ class AddUserCommandTest extends KernelTestCase
2828

2929
protected function setUp(): void
3030
{
31-
return; // TODO
32-
exec('stty 2>&1', $output, $exitcode);
33-
$isSttySupported = 0 === $exitcode;
34-
35-
if ('Windows' === \PHP_OS_FAMILY || !$isSttySupported) {
36-
$this->markTestSkipped('`stty` is required to test this command.');
31+
if ('Windows' === \PHP_OS_FAMILY) {
32+
$this->markTestSkipped('Windows OS does not support testing this command.');
3733
}
3834
}
3935

0 commit comments

Comments
 (0)