Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Dec 3, 2023
1 parent e089465 commit 65fc7a6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,20 @@ jobs:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
SEC_VBOX : ${{ secrets.SEC_VBOX }}
DEBUG: 1
steps:
- uses: actions/checkout@v4
- name: Creating Web console
uses: vmactions/cf-tunnel@v0
id: tunnel
with:
protocol: http
port: 8000
- name: Test in OpenBSD
id: test
uses: vmactions/openbsd-vm@ea16da5a4b2c1a37effa9687d9efac26f3538f23
uses: vmactions/openbsd-vm@e089465702126159de3efa027ccf90283fe3f272
with:
envs: 'MYTOKEN MYTOKEN2'
envs: 'DEBUG MYTOKEN MYTOKEN2'
prepare: |
pkg_add curl
mem: 2048
Expand All @@ -60,7 +67,7 @@ jobs:
tree $HOME/work/
- name: Test NAT
run:
ssh -p 10022 -i $HOME/.ssh/host.id_rsa root@localhost "uname -a;whoami;pwd"
ssh -vvv -p 10022 -i $HOME/.ssh/host.id_rsa root@localhost "uname -a;whoami;pwd"

test:
strategy:
Expand All @@ -77,7 +84,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test in OpenBSD
id: test
uses: vmactions/openbsd-vm@ea16da5a4b2c1a37effa9687d9efac26f3538f23
uses: vmactions/openbsd-vm@e089465702126159de3efa027ccf90283fe3f272
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
Expand All @@ -101,7 +108,7 @@ jobs:
- name: Test NAT
run:
ssh -p 10022 -i $HOME/.ssh/host.id_rsa root@localhost "uname -a;whoami;pwd"
ssh -vvv -p 10022 -i $HOME/.ssh/host.id_rsa root@localhost "uname -a;whoami;pwd"



Expand Down

0 comments on commit 65fc7a6

Please sign in to comment.