tmp #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke tests | |
on: | |
push: | |
branches: | |
- approxit/smoke-tests | |
jobs: | |
build: | |
name: Smoke tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: pipx run --spec poetry==1.6.1 poetry install --no-ansi | |
- name: Call `ray up` | |
env: | |
PYTHONUNBUFFERED: 1 | |
run: pipx 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 | |
- name: Call `ray down` | |
run: pipx run poetry run ray down golem-cluster-dev.yaml -y | |
- name: Collects logs | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: logs | |
path: | | |
/tmp/ray_on_golem/webserver_debug.log | |
/tmp/ray_on_golem/yagna.log |