AIP-7738 retry_backoff_factor feature #1014
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- master | |
- feature/kfp | |
pull_request: | |
branches: | |
- master | |
- feature/kfp | |
workflow_call: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: pre-commit/[email protected] | |
Python: | |
name: core / Python ${{ matrix.ver }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ver: ['3.9','3.10',] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.ver }} | |
- name: Install Python ${{ matrix.ver }} dependencies | |
run: | | |
python3 -m pip install --upgrade pip setuptools | |
python3 -m pip install tox numpy black | |
- name: Python Code Format Check | |
run: black --target-version py39 --diff --check ./metaflow/plugins/kfp/*.py | |
- name: Execute Python tests | |
run: tox |