File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - name : Run lint check
2828 run : poetry run pre-commit run -a ${{ matrix.cmd }}
2929 pytest :
30- services :
31- memphis-metadata :
32- image : memphisos/memphis-metadata:15-docker
33- ports :
34- - ' 5005:5005'
35- env :
36- POSTGRESQL_USERNAME : " memphis"
37- POSTGRESQL_PASSWORD : " memphis"
38- POSTGRESQL_DATABASE : " memphis"
39- POSTGRESQL_PORT_NUMBER : 5005
40- memphis :
41- image : " memphisos/memphis:stable"
42- ports :
43- - " 9000:9000"
44- - " 6666:6666"
45- - " 7770:7770"
46- env :
47- ROOT_PASSWORD : " memphis"
48- ANALYTICS : true
49- USER_PASS_BASED_AUTHL : true
50- CONNECTION_TOKEN : " memphis"
51- METADATA_DB_HOST : " memphis-metadata"
52-
53- memphis-rest-gateway :
54- image : " memphisos/memphis-rest-gateway:latest"
55- ports :
56- - " 4444:4444"
57- env :
58- JWT_SECRET : " JWT_TEST_PURPOSE"
59- REFRESH_JWT_SECRET : " REFRESH_JWT_TEST_PURPOSE"
60- USER_PASS_BASED_AUTH : true
61- CONNECTION_TOKEN : " memphis"
62- ROOT_USER : " root"
63- ROOT_PASSWORD : " memphis"
64- MEMPHIS_HOST : " localhost"
65- HTTP_PORT : 4444
6630 permissions :
6731 checks : write
6832 pull-requests : write
8347 cache : " poetry"
8448 - name : Install deps
8549 run : poetry install
50+ - name : Download memphis docker-compose file
51+ run : |
52+ curl -s https://memphisdev.github.io/memphis-docker/docker-compose-dev.yml -o docker-compose.yaml
53+ - name : Run docker-compose file
54+ run : docker compose -f docker-compose.yaml -p memphis up -d
8655 - name : Run pytest check
8756 run : poetry run pytest -vv -n auto --cov="taskiq_memphis" .
8857 - name : Generate report
9463 token : ${{ secrets.CODECOV_TOKEN }}
9564 fail_ci_if_error : false
9665 verbose : true
66+ - name : Stop and remove running containers
67+ run : |
68+ docker compose down
You can’t perform that action at this time.
0 commit comments