mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-02-04 23:48:31 -06:00
Fixed AWS tests, refactoring
This commit is contained in:
7
.github/workflows/test-code.yml
vendored
7
.github/workflows/test-code.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user