Skip to content

Commit c02c02d

Browse files
committed
Add minio to github actions
1 parent a22a03e commit c02c02d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/toolkit-ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ jobs:
1414
- 5432/tcp
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
17+
minio:
18+
image: minio/minio
19+
env:
20+
MINIO_ACCESS_KEY: minio
21+
MINIO_SECRET_KEY: minio123
22+
ports:
23+
- 9000/tcp
1724

1825
runs-on: ubuntu-18.04
1926
steps:
@@ -40,4 +47,7 @@ jobs:
4047
source ~/venv/bin/activate
4148
./runtests.sh
4249
env:
43-
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
50+
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
51+
TEST_AWS_ACCESS_KEY_ID: minio
52+
TEST_AWS_SECRET_ACCESS_KEY: minio123
53+
TEST_AWS_ENDPOINT_URL: http://localhost:${{ job.services.minio.ports['9000'] }}/

0 commit comments

Comments
 (0)