-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (34 loc) · 1.66 KB
/
ci.yml
File metadata and controls
37 lines (34 loc) · 1.66 KB
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
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
working-directory: ./simulation
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test simple experiment (no SA, 1 worker)
working-directory: ./simulation
run: python3 ./main.py --config ./experiments/simple-no-sa-1worker.yaml ../data/release01-2021-12-29/data-sample.csv
- name: Test simple experiment (no SA, 4 workers)
working-directory: ./simulation
run: python3 ./main.py --config ./experiments/simple-no-sa-4worker.yaml ../data/release01-2021-12-29/data-sample.csv
- name: Test simple experiment (self-adaptive)
working-directory: ./simulation
run: python3 ./main.py --config ./experiments/simple-self-adaptive.yaml ../data/release01-2021-12-29/data-sample.csv
- name: Test ux experiment (no SA)
working-directory: ./simulation
run: python3 ./main.py --config ./experiments/user_experience-no-sa.yaml --refs ../data/release01-2021-12-29/ref-solutions.csv ../data/release01-2021-12-29/data-sample.csv
- name: Test ux experiment (default)
working-directory: ./simulation
run: python3 ./main.py --config ./experiments/user_experience.yaml --refs ../data/release01-2021-12-29/ref-solutions.csv ../data/release01-2021-12-29/data-sample.csv