Experiment with configs #136
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: Experiment with configs | |
on: | |
workflow_dispatch: | |
inputs: | |
job: | |
description: 'An experiment job name (collect-metrics or bench-scientific)' | |
required: true | |
config_url: | |
description: 'An experiment config url' | |
required: true | |
jobs: | |
collect-metrics: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.inputs.job == 'collect-metrics' }} | |
timeout-minutes: 360 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- run: python ./experiments/etc/collect-metrics.py ${{ github.event.inputs.config_url }} | |
- name: Upload Results artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: experiments-results.csv | |
path: experiments/etc/collect-metrics-results.csv | |
bench-scientific: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.inputs.job == 'bench-scientific' }} | |
timeout-minutes: 360 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- run: python ./experiments/etc/bench-scientific.py ${{ github.event.inputs.config_url }} | |
- name: Upload Results artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bench-results | |
path: experiments/etc/results | |