-
Notifications
You must be signed in to change notification settings - Fork 207
86 lines (81 loc) · 4.02 KB
/
experimental_workflow_tests.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Workflow Interface Tests
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
build:
if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/github/experimental/workflow/LocalRuntime/requirements_experimental_localruntime_tests.txt
pip install .
- name: Workflow - Exclude Test (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_exclude.py
- name: Workflow - Exclude Test (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_exclude.py ray
- name: Workflow - Include Test (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_include.py
- name: Workflow - Include Test (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_include.py ray
- name: Workflow - Include / Exclude Test (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py
- name: Workflow - Include / Exclude Test (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_include_exclude.py ray
- name: Workflow - Internal Loop Test (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_internalloop.py
- name: Workflow - Internal Loop Test (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_internalloop.py ray
- name: Workflow - Private Attributes (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_privateattributes.py
- name: Workflow - Private Attributes (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_privateattributes.py ray
- name: Workflow - References (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference.py
- name: Workflow - References (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference.py ray
- name: Workflow - References with Exclude (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py
- name: Workflow - References with Exclude (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_exclude.py ray
- name: Workflow - References with Include (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py
- name: Workflow - References with Include (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_reference_with_include.py ray
- name: Workflow - Collaborator Subset (Single Process Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_subset_of_collaborators.py
- name: Workflow - Collaborator Subset (Ray Backend)
run: |
python tests/github/experimental/workflow/LocalRuntime/testflow_subset_of_collaborators.py ray
- name: Test Experimental Aggregator Based Workflow API
run: |
python -m tests.github.experimental.workflow.AggregatorBasedWorkflow.test_experimental_agg_based_workflow --custom_template tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_datastore_cli --fed_workspace aggregator --col col1 --col col2 --rounds-to-train 1