Skip to content

Commit

Permalink
Split run commands and add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Mar 20, 2024
1 parent 518a70f commit 10b2956
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ jobs:
with:
command: install
args: --path .
- run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
./e2e/setup.sh
./e2e/test_bash.bash
./e2e/test_fish.fish
./e2e/test_zsh.zsh
- run: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- run: ./e2e/setup.sh
- run: ./e2e/test_bash.bash
- run: ./e2e/test_fish.fish
- run: ./e2e/test_zsh.zsh
2 changes: 1 addition & 1 deletion e2e/test_bash.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -ex

eval "$(portman init bash)"
# Test shell integration setting port
Expand Down
4 changes: 2 additions & 2 deletions e2e/test_zsh.zsh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env zsh
set -e
set -ex

eval "$(portman init zsh)"
# Test shell integration setting port
Expand All @@ -19,7 +19,7 @@ cd ../portman2
test -n "$PORT"
test -z "$PORTMAN_LINKED_PORT"
test portman2 = "$PORTMAN_PROJECT"
MESSAGE=portman2 python3 ~/dev/portman/e2e/echo_server.py &
MESSAGE=portman2 python3 e2e/echo_server.py &
server2_pid=$!
sleep 1
curl --silent --show-error https://portman2.localhost | grep portman2
Expand Down

0 comments on commit 10b2956

Please sign in to comment.