Skip to content

Commit

Permalink
ci: test pseudo-tty
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Jun 29, 2023
1 parent 3a030da commit 8c76727
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/end2end_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ jobs:
run: docker build -t atsigncompany/sshnp-e2e-trunk -f images/trunk/Dockerfile context/sshnp

- name: Run Sshnpd Trunk
run: docker run -d --name sshnp-e2e-trunk-sshnpd atsigncompany/sshnp-e2e-trunk
run: |
docker run -d -t --name sshnp-e2e-trunk-sshnpd atsigncompany/sshnp-e2e-trunk
echo $?
- name: Run Sshnp Trunk
run: docker run -d --name sshnp-e2e-trunk-sshnp atsigncompany/sshnp-e2e-trunk
run: |
docker run -d -t --name sshnp-e2e-trunk-sshnp atsigncompany/sshnp-e2e-trunk
echo $?
# attempting to use `dart test `
Expand Down
3 changes: 2 additions & 1 deletion test/end2end_tests/context/sshnp/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
cd ~/.local/bin
./sshnp -f @jeremy_0 -t @smoothalligator -d docker -h @rv_am -s id_ed25519.pub -v
# ./sshnp -f @jeremy_0 -t @smoothalligator -d docker -h @rv_am -s id_ed25519.pub -v
exit 13
3 changes: 2 additions & 1 deletion test/end2end_tests/context/sshnpd/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
cd ~/.local/bin
./sshnpd -a @smoothalligator -m @jeremy_0 -d docker -s -u -v
# ./sshnpd -a @smoothalligator -m @jeremy_0 -d docker -s -u -v
exit 13

0 comments on commit 8c76727

Please sign in to comment.