add first e2e case

This commit is contained in:
Boshi Lian 2022-07-06 16:46:56 +00:00
parent 9e702013c6
commit 93da136a94
8 changed files with 212 additions and 8 deletions

View file

@ -17,7 +17,14 @@ jobs:
with:
submodules: 'recursive'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: E2E
run: docker-compose up --build --abort-on-container-exit
working-directory: sshpiperd/e2e
working-directory: e2e
env:
COMPOSE_DOCKER_CLI_BUILD: "1"
DOCKER_BUILDKIT: "1"

View file

@ -37,11 +37,11 @@ jobs:
with:
args: --timeout=10m -E gofmt
- name: Test
- name: Test lib ssh
run: go test -v -race -cover ./...
working-directory: crypto/ssh
- name: Test
- name: Test sshpiper
run: go test -v -race -cover ./...
- name: create release