WIP: CI Scans #573
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: Workflow Interface Tests | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
if: 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 metaflow==2.7.15 ray==2.1.0 torch | |
pip install . | |
- name: Workflow - Exclude Test (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_exclude.py | |
- name: Workflow - Exclude Test (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_exclude.py ray | |
- name: Workflow - Include Test (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_include.py | |
- name: Workflow - Include Test (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_include.py ray | |
- name: Workflow - Include / Exclude Test (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_include_exclude.py | |
- name: Workflow - Include / Exclude Test (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_include_exclude.py ray | |
- name: Workflow - Internal Loop Test (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_internalloop.py | |
- name: Workflow - Internal Loop Test (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_internalloop.py ray | |
- name: Workflow - Private Attributes (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_privateattributes.py | |
- name: Workflow - Private Attributes (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_privateattributes.py ray | |
- name: Workflow - References (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_reference.py | |
- name: Workflow - References (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_reference.py ray | |
- name: Workflow - References with Exclude (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_reference_with_exclude.py | |
- name: Workflow - References with Exclude (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_reference_with_exclude.py ray | |
- name: Workflow - References with Include (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_reference_with_include.py | |
- name: Workflow - References with Include (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_reference_with_include.py ray | |
- name: Workflow - Collaborator Subset (Single Process Backend) | |
run: | | |
python tests/github/experimental/testflow_subset_of_collaborators.py | |
- name: Workflow - Collaborator Subset (Ray Backend) | |
run: | | |
python tests/github/experimental/testflow_subset_of_collaborators.py ray |