Skip to content

Commit 0f6e99f

Browse files
committed
Add minio to github actions
1 parent 34eebd6 commit 0f6e99f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/toolkit-ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ jobs:
1515
# needed because the postgres container does not provide a healthcheck
1616
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1717

18+
minio:
19+
image: minio/minio
20+
command: server /data
21+
environment:
22+
MINIO_ACCESS_KEY: minio
23+
MINIO_SECRET_KEY: minio123
24+
TZ: Asia/Kolkata
25+
volumes:
26+
- storage-volume:/data
27+
1828
runs-on: ubuntu-18.04
1929
steps:
2030
- uses: actions/checkout@v1
@@ -40,4 +50,7 @@ jobs:
4050
source ~/venv/bin/activate
4151
./runtests.sh
4252
env:
43-
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
53+
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
54+
TEST_AWS_ACCESS_KEY_ID: minio
55+
TEST_AWS_SECRET_ACCESS_KEY: minio123
56+
TEST_AWS_ENDPOINT_URL: http://minio.localhost/

0 commit comments

Comments
 (0)