-
Notifications
You must be signed in to change notification settings - Fork 15
55 lines (44 loc) · 1.37 KB
/
full_chain_test.yml
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
name: Full Chain Test
on: [push, pull_request]
jobs:
run-ingestion:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r conda/requirements.txt
- name: Run ingestion script
run: |
mkdir -p sample_result_submission
mkdir -p scoring_output
python ingestion_program/run_ingestion.py --submission test/sample_submission --num-pseudo-experiments 100 --num-of-sets 1
python scoring_program/run_scoring.py
- name: Upload results artifact
uses: actions/upload-artifact@v3
with:
name: results-artifact
path: scoring_output/scores.json
check-performace:
runs-on: ubuntu-latest
needs: run-ingestion
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Download results artifact
uses: actions/download-artifact@v3
with:
name: results-artifact
path: scoring_output
- name: Run performance test
run: python3 test/run_performance_test.py --result-file scoring_output/scores.json