Skip to content

Commit

Permalink
Merge pull request #4 from vvanglro/kiran94-main
Browse files Browse the repository at this point in the history
chore(testing): add docker compose for testing
  • Loading branch information
vvanglro authored Jun 10, 2022
2 parents 2cdd15e + c4a4c05 commit f2a0902
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,18 @@ func main() {
fmt.Println(err)
}
```

## Developing

### Running Tests

```bash
# Start the Redis Containers
docker-compose up -d

# Run Tests
go test ./...

# Stop the Containers
docker-compose down
```
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3.1"

services:
redis1:
image: redis
ports:
- "56379:6379"

redis2:
image: redis
ports:
- "56378:6379"

0 comments on commit f2a0902

Please sign in to comment.