CI: Fix uv install and MinIO networking
Some checks failed
Pipeline / UI Lint (push) Successful in 56s
Pipeline / UI Tests (push) Successful in 1m28s
Pipeline / API Lint (push) Failing after 4s
Pipeline / API Integration Tests (push) Failing after 32s
Pipeline / API Unit Tests (push) Successful in 3m14s
Pipeline / Build & Push API Image (push) Has been skipped
Pipeline / Build & Push UI Image (push) Has been skipped

Install uv via official installer script instead of pip (pip not
available in the runner environment). Add ~/.local/bin to GITHUB_PATH
so uv is on PATH for subsequent steps.

MinIO: replace -p 9000:9000 (binds to host, unreachable from job
container) with --network container:$(hostname) which joins MinIO to
the job container's network namespace, making localhost:9000 resolve
correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 22:45:39 +00:00
parent 47e8f80572
commit 8a187b45b9

View File

@@ -69,7 +69,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install uv - name: Install uv
run: pip install uv run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Cache uv store - name: Cache uv store
uses: actions/cache@v3 uses: actions/cache@v3
@@ -104,7 +106,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run Ruff - name: Run Ruff
run: pip install uv && uvx ruff check . run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
~/.local/bin/uvx ruff check .
working-directory: api working-directory: api
api-integration: api-integration:
@@ -130,9 +134,9 @@ jobs:
- name: Start MinIO - name: Start MinIO
run: | run: |
docker run -d --name ci-minio \ docker run -d --name ci-minio \
--network container:$(hostname) \
-e MINIO_ROOT_USER=minioadmin \ -e MINIO_ROOT_USER=minioadmin \
-e MINIO_ROOT_PASSWORD=minioadmin \ -e MINIO_ROOT_PASSWORD=minioadmin \
-p 9000:9000 \
quay.io/minio/minio server /data quay.io/minio/minio server /data
- name: Create MinIO bucket - name: Create MinIO bucket
@@ -143,7 +147,9 @@ jobs:
/tmp/mc mb local/reactbin-test /tmp/mc mb local/reactbin-test
- name: Install uv - name: Install uv
run: pip install uv run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Cache uv store - name: Cache uv store
uses: actions/cache@v3 uses: actions/cache@v3