Skip to content

Commit

Permalink
Add docker compose file to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
F21 committed Mar 26, 2024
1 parent d7cc807 commit ce17a61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
services:
test:
image: golang:${GO_VERSION}
working_dir: /source
command: go test -v ./...
environment:
- VAULT_ACC=${VAULT_ACC}
- TEST_BACKBLAZEB2_APPLICATION_KEY_ID=${TEST_BACKBLAZEB2_APPLICATION_KEY_ID}
- TEST_BACKBLAZEB2_APPLICATION_KEY=${TEST_BACKBLAZEB2_APPLICATION_KEY}
volumes:
- .:/source
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache

0 comments on commit ce17a61

Please sign in to comment.