Few small UI changes #184
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: CI | |
on: [ pull_request ] | |
jobs: | |
test-go: | |
name: Test implementation in Golang | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ^1.19 | |
id: go | |
- run: cd cmd/mkunion; go get -v -t -d ./... | |
- run: cd cmd/mkunion; go build -o mkunion | |
- run: go get -v -t -d ./... | |
- run: go generate ./... | |
# initiate docker-compose services | |
- run: | | |
pip install awscli-local | |
- run: dev/bootstrap.sh -nologs | |
# run tests | |
- run: | | |
export RUN_EXPERIMENTAL_TEST="false" | |
set -e | |
retries=3 | |
until [ $retries -le 0 ]; do | |
if go test -v ./...; then | |
break | |
fi | |
echo "Retrying Go tests ($retries retries left)..." | |
retries=$((retries - 1)) | |
done | |
if [ $retries -eq 0 ]; then | |
echo "Go tests failed after all retries." | |
exit 1 | |
fi |