update per review, add integration tests #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: kit | |
on: | |
push: {} | |
release: | |
types: [published] | |
workflow_dispatch: {} | |
permissions: | |
packages: write | |
contents: write | |
pull-requests: write | |
id-token: write | |
jobs: | |
build-app: | |
uses: GeoNet/Actions/.github/workflows/reusable-go-apps.yml@main | |
with: | |
testSetup: | | |
docker run --name localstack -d --rm -p 4566:4566 -p 4510-4559:4510-4559 docker.io/localstack/localstack:3.2.0 | |
echo "waiting for localstack to be ready" | |
until curl -v localhost:4566; do | |
sleep 1s | |
done | |
echo "waiting for localstack service status to be ready" | |
until docker exec localstack /opt/code/localstack/bin/localstack status services; do | |
sleep 1s | |
done | |
goTestExtraArgs: -p 1 --tags localstack |