Skip to content

Commit

Permalink
Add minio to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
leela committed Jul 19, 2020
1 parent 34eebd6 commit 0f6e99f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/toolkit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

minio:
image: minio/minio
command: server /data
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
TZ: Asia/Kolkata
volumes:
- storage-volume:/data

runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
Expand All @@ -40,4 +50,7 @@ jobs:
source ~/venv/bin/activate
./runtests.sh
env:
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
TEST_AWS_ACCESS_KEY_ID: minio
TEST_AWS_SECRET_ACCESS_KEY: minio123
TEST_AWS_ENDPOINT_URL: http://minio.localhost/

0 comments on commit 0f6e99f

Please sign in to comment.