File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI
2-
3- on :
4- push :
5- branches : [ master, main, feature/** ]
6- pull_request :
7-
81jobs :
92 test :
103 runs-on : ubuntu-latest
@@ -24,19 +17,20 @@ jobs:
2417 --health-retries=5
2518
2619 minio :
27- image : bitnami/minio:latest # <-- ключевая замена
28- ports : ["9000:9000"] # API порт
20+ image : bitnami/minio:latest
21+ ports : ["9000:9000"]
2922 env :
3023 MINIO_ROOT_USER : minioadmin
3124 MINIO_ROOT_PASSWORD : minioadmin
32- MINIO_DEFAULT_BUCKETS : xmlsvc # создаст бакет автоматически
25+ MINIO_DEFAULT_BUCKETS : xmlsvc
3326 options : >-
3427 --health-cmd="curl -fsS http://localhost:9000/minio/health/ready || exit 1"
3528 --health-interval=5s
3629 --health-timeout=5s
3730 --health-retries=30
3831
3932 env :
33+ PYTHONPATH : ${{ github.workspace }} # <— ключевой фикс
4034 DATABASE_URL : postgresql+psycopg://xmlsvc:xmlsvc@localhost:5432/xmlsvc
4135 S3_ENDPOINT : http://localhost:9000
4236 S3_BUCKET : xmlsvc
4539
4640 steps :
4741 - uses : actions/checkout@v4
48-
4942 - uses : actions/setup-python@v5
5043 with :
5144 python-version : " 3.11"
You can’t perform that action at this time.
0 commit comments