summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-03-30 19:00:06 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-03-31 21:30:35 -0500
commit024070cbd6e4ee904e1f23f914a5c1a49d229669 (patch)
treec478aac32dfe2f7066e86e5b9901a98466a6ce0f
parent5b3a14ab6273ac6964a2b7a22032581b0d647218 (diff)
downloadrequests-cache-024070cbd6e4ee904e1f23f914a5c1a49d229669.tar.gz
Add httpbin container for both local tests and GitHub Actions
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--docker-compose.yml8
2 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 963bc28..14fb221 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,6 +15,11 @@ jobs:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
+ services:
+ nginx:
+ image: kennethreitz/httpbin
+ ports:
+ - 80:80
steps:
- uses: actions/checkout@v2
diff --git a/docker-compose.yml b/docker-compose.yml
index 0b64f12..8b05132 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,6 +2,12 @@
version: '3'
services:
+ httpbin:
+ image: kennethreitz/httpbin
+ container_name: httpbin
+ ports:
+ - '80:80'
+
dynamodb:
image: amazon/dynamodb-local
container_name: dynamodb
@@ -11,8 +17,6 @@ services:
environment:
AWS_ACCESS_KEY_ID: 'placeholder'
AWS_SECRET_ACCESS_KEY: 'placeholder'
-# volumes:
-# - 'dynamodb_data:/home/dynamodblocal/data'
working_dir: '/home/dynamodblocal'
mongo: