Skip to content

Commit 68d1a22

Browse files
committed
А1: еще правим Actions
- В этот раз пробуем запустить MinIO отдельным шагом
1 parent 25ffe68 commit 68d1a22

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,17 @@ jobs:
5050
- uses: actions/setup-python@v5
5151
with:
5252
python-version: "3.11"
53-
53+
- name: Start MinIO (official image)
54+
run: |
55+
docker run -d --name gha-minio \
56+
-e MINIO_ROOT_USER=minioadmin \
57+
-e MINIO_ROOT_PASSWORD=minioadmin \
58+
-p 9000:9000 \
59+
minio/minio:latest server /data
60+
for i in {1..60}; do
61+
curl -fsS http://localhost:9000/minio/health/ready && break
62+
sleep 1
63+
done
5464
- name: Install deps
5565
run: |
5666
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)