Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamo client #107

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,31 @@ jobs:
- checkout

# specify any bash command here prefixed with `run: `
- restore_cache:
keys:
- dynamodb-installed
- run:
name: Install Java
command: 'sudo apt-get update && sudo apt-get install default-jre default-jdk'
- run:
name: Setup Container
command: |
test -f DynamoDBLocal.jar || curl -k -L -o dynamodb-local.tgz http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz
test -f DynamoDBLocal.jar || tar -xzf dynamodb-local.tgz
- save_cache:
key: dynamodb-installed
paths:
- DynamoDBLocal_lib
- DynamoDBLocal.jar
- run:
name: Launch Dynamodb
command: java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
background: true
- run: make deps
- run: go get -v -t -d ./...
- run: go test ./...
- run:
name: Run Tests
command: go test ./...
environment:
AWS_ACCESS_KEY_ID: DUMMY_KEY
AWS_SECRET_ACCESS_KEY: DUMMY_SECRET
Loading