Skip to content

updated docs

updated docs #32

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
RunTests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
cache-dependency-path: |
go.sum
- name: Start Servers and Run Tests
run: |
go run test_api/todo/server.go & go run main.go & sleep 10
go get github.com/bitnami/wait-for-port
go install github.com/bitnami/wait-for-port
wait-for-port 8080 --timeout=60
wait-for-port 9090 --timeout=60
go test -v ./...