Skip to content

Run Marclab Script

Run Marclab Script #67

Workflow file for this run

name: Run Marclab Script
on:
workflow_dispatch:
inputs:
volume:
description: The volume to run the script on
required: true
default: RPC1
jobs:
run:
name: Run script on specified volume
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: '3.8'
architecture: 'x64'
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Configure poetry
run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install deps
run: poetry install
- name: Run script on volume '${{ github.event.inputs.volume }}'
run: poetry run python marclab.py ${{ github.event.inputs.volume }}
- name: Upload ${{ github.event.inputs.volume }} to multinet instance
run: poetry run python multinet.py https://api.multinet.app marclab ${{ secrets.API_TOKEN }} ${{ github.event.inputs.volume }}