Merge pull request #283 from zillow/tz/AIP-7562-sanitized-workflow-name #1080
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 | |
- feature/aip | |
- feature/kfp-argo | |
pull_request: | |
branches: | |
- master | |
- feature/kfp | |
- feature/aip | |
- feature/kfp-argo | |
- tz/AIP-7418-remove-create | |
- tz/AIP-7773-argo-ftf | |
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] | |
ver: ['3.9'] | |
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==3.25.1 numpy black==21.12b "click<8.1.0" | |
- name: Python Code Format Check | |
run: black --target-version py39 --diff --check ./metaflow/plugins/aip/*.py |