-
Notifications
You must be signed in to change notification settings - Fork 73
57 lines (47 loc) · 1.48 KB
/
experiments.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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