Skip to content

Commit

Permalink
Force interactive mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Dec 3, 2023
1 parent 7fcb9cb commit 2947f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Run Tests
run: |
TERM=xterm \
INTERACTIVE=true \
BASE_MODE=pull \
CACHE_MODE=pull \
./dtox.sh -e ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }}
Expand Down
2 changes: 1 addition & 1 deletion dtox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if [[ "${1:-}" == "inspect" ]]; then
--entrypoint bash
)
fi
if [[ -t 1 ]]; then
if [[ -n "${INTERACTIVE:-}" || -t 1 ]]; then
DOCKER_ARGS+=(
--interactive
--tty
Expand Down

0 comments on commit 2947f26

Please sign in to comment.