Fixed AWS tests, refactoring

This commit is contained in:
Marc Ole Bulling
2021-05-17 11:04:39 +02:00
parent e42586fcd6
commit e6227a95be
16 changed files with 135 additions and 40 deletions

View File

@@ -12,8 +12,11 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.4'
- run: go test ./... --tags=test,awsmock
- run: go test ./... -parallel 8 --tags=test,awsmock
- run: go clean -testcache
- run: go test ./... --tags=test,noaws
- run: go test ./... -parallel 8 --tags=test,noaws
- run: go clean -testcache
- run: go test ./... --tags=test,noaws,integration
- run: go clean -testcache
- run: GOKAPI_AWS_BUCKET="gokapi" GOKAPI_AWS_REGION="eu-central-1" GOKAPI_AWS_KEY="keyid" GOKAPI_AWS_KEY_SECRET="secret" go test ./... --tags=test,awstest