Skip to content

Commit

Permalink
Merge pull request #1587 from henrykironde/macos
Browse files Browse the repository at this point in the history
Test on MacOS
  • Loading branch information
henrykironde committed Apr 14, 2021
2 parents 82819fb + 6e3bd73 commit a304ac3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]

python-version: [3.7, 3.8] # 3.9] removed to reduce testing time
os:
- "ubuntu-latest"
- "macos-latest"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
15 changes: 11 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
MYSQL_PASSWORD: Password12!
MYSQL_ROOT_PASSWORD: Password12!
MYSQL_DATABASE: testdb_retriever

restart: on-failure
healthcheck:
test: "exit 0"
pgdb_retriever:
image: kartoza/postgis:latest
volumes:
Expand All @@ -26,8 +28,11 @@ services:
- POSTGRES_PASS=Password12!
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting
ports:
- 25432:5432
restart: on-failure

healthcheck:
test: "exit 0"
python_retriever:
container_name: ret_container
image: ret_image
Expand All @@ -47,7 +52,9 @@ services:
restart: on-failure
build: .
depends_on:
- mysqldb_retriever
- pgdb_retriever
mysqldb_retriever:
condition: service_healthy
pgdb_retriever:
condition: service_healthy
ports:
- 5001:80

0 comments on commit a304ac3

Please sign in to comment.