diff --git a/.github/workflows/toolkit-ci.yml b/.github/workflows/toolkit-ci.yml index 87f423f..00bcd41 100644 --- a/.github/workflows/toolkit-ci.yml +++ b/.github/workflows/toolkit-ci.yml @@ -18,6 +18,11 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 + - name: Crete minio service + run: | + mkdir -p $HOME/minio_data/storage + /usr/bin/docker create --name minio -p 9000:9000 -e "MINIO_ACCESS_KEY=minio" -e "MINIO_SECRET_KEY=minio123" -e GITHUB_ACTIONS=true -e CI=true -v $HOME/minio_data:/data minio/minio server /data + /usr/bin/docker start minio - name: Set up Python 3.7 uses: actions/setup-python@v1 with: @@ -40,4 +45,7 @@ jobs: source ~/venv/bin/activate ./runtests.sh env: - TEST_DATABASE_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres \ No newline at end of file + 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://localhost:9000/