Skip to content

Commit

Permalink
Exclude everything but Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackadays committed Mar 11, 2023
1 parent 420f03c commit 0b304c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
run: |
export CLIPBOARD_TMPDIR=$TMPDIR
sh src/install.sh
stty rows 80 cols 120
bash src/tests/suite.sh
windows-amd64:
strategy:
Expand Down
6 changes: 3 additions & 3 deletions src/tests/status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ make_files

clipboard copy testfile testdir

# check CI is true and the runner is Windows
# check CI is true and the runner is not Linux
set +u
if [ "$CI" = "true" ] && [ "$RUNNER_OS" = "Windows" ]
if [ "$CI" = "true" ] && [ "$(uname)" != "Linux" ]
then
echo "Skipping test on Windows CI due to Not A TTY bug"
echo "Skipping test on this platform CI due to Not A TTY bug"
exit 0
fi

Expand Down

0 comments on commit 0b304c7

Please sign in to comment.