mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
fix workflow ss not found (#16085)
### What problem does this PR solve? fix workflow ss not found
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -186,6 +186,8 @@ jobs:
|
||||
- name: Prepare function test environment
|
||||
working-directory: docker
|
||||
run: |
|
||||
# install ss
|
||||
sudo apt update && sudo apt install -y iproute2
|
||||
# Determine runner number (default to 1 if not found)
|
||||
RUNNER_NUM=$(sudo docker inspect $(hostname) --format '{{index .Config.Labels "com.docker.compose.container-number"}}' 2>/dev/null || true)
|
||||
RUNNER_NUM=${RUNNER_NUM:-1}
|
||||
|
||||
Reference in New Issue
Block a user