File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-18.04
19
19
steps :
20
20
- uses : actions/checkout@v1
21
+ - name : Crete minio service
22
+ run : |
23
+ mkdir -p $HOME/minio_data/storage
24
+ /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
25
+ /usr/bin/docker start minio
21
26
- name : Set up Python 3.7
22
27
uses : actions/setup-python@v1
23
28
with :
40
45
source ~/venv/bin/activate
41
46
./runtests.sh
42
47
env :
43
- TEST_DATABASE_URL : postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
48
+ TEST_DATABASE_URL : postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres
49
+ TEST_AWS_ACCESS_KEY_ID : minio
50
+ TEST_AWS_SECRET_ACCESS_KEY : minio123
51
+ TEST_AWS_ENDPOINT_URL : http://localhost:9000/
You can’t perform that action at this time.
0 commit comments