Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
approxit committed Nov 7, 2023
1 parent 34f4908 commit b7d97c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,23 @@ jobs:
with:
python-version: "3.10"

- name: Install poetry
uses: Gr1N/setup-poetry@v8

- name: Install dependencies
run: pipx run --spec poetry==1.6.1 poetry install --no-ansi
run: poetry install --no-ansi

- name: Call `ray up`
env:
PYTHONUNBUFFERED: 1
run: pipx run poetry run ray up golem-cluster-dev.yaml -y
RUST_LOG: "INFO,ya_erc20_driver::erc20::wallet=debug"
run: poetry run ray up golem-cluster-dev.yaml -y

- name: Run examples/calculate.pi
run: pipx run poetry run ray submit golem-cluster-dev.yaml examples/calculate_pi.py
run: poetry run ray submit golem-cluster-dev.yaml examples/calculate_pi.py

- name: Call `ray down`
run: pipx run poetry run ray down golem-cluster-dev.yaml -y
run: poetry run ray down golem-cluster-dev.yaml -y

- name: Collects logs
if: always()
Expand Down
2 changes: 1 addition & 1 deletion ray_on_golem/server/services/yagna.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async def _run_yagna_payment_fund(self) -> None:
logger.debug('Preparing testnet fund...')
try:
await run_subprocess_output(self._yagna_path, "payment", "fund")
await asyncio.sleep(5) # FIXME: Funds are sometime not available ASAP
# await asyncio.sleep(5) # FIXME: Funds are sometime not available ASAP
except RayOnGolemError as e:
logger.error('Preparing testnet fund failed with error: %s', e)
else:
Expand Down

0 comments on commit b7d97c2

Please sign in to comment.