Skip to content

Commit

Permalink
Update python-api-client-tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zelosleone committed Dec 25, 2024
1 parent 6b2f629 commit 4afbe99
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-api-client-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ jobs:
cargo build --bin golem-cli
- name: Initialize Golem Configuration
env:
GOLEM_INIT_MODE: postgres
GOLEM_NON_INTERACTIVE: "true"
run: |
# Create .env file with custom configuration
cat << EOF > .env
Expand All @@ -143,12 +146,12 @@ jobs:
WORKER_EXECUTOR_HTTP_PORT=${{ env.WORKER_EXECUTOR_HTTP_PORT }}
WORKER_EXECUTOR_GRPC_PORT=${{ env.WORKER_EXECUTOR_GRPC_PORT }}
GOLEM_ROUTER_COMPONENT_MAX_SIZE_ALLOWED=${{ env.GOLEM_ROUTER_COMPONENT_MAX_SIZE_ALLOWED }}
# Set non-interactive mode
GOLEM_INIT_MODE=postgres
GOLEM_NON_INTERACTIVE=true
EOF
# Run golem-cli init in non-interactive mode
cargo run --bin golem-cli init --non-interactive
# Run golem-cli init
cargo run --bin golem-cli init
- name: Start Golem Server
run: |
Expand Down

0 comments on commit 4afbe99

Please sign in to comment.