Shorten the inference pipeline name #10
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: CI | |
on: | |
workflow_dispatch: | |
inputs: | |
ref-template: | |
description: 'Branch or tag ref to check out for template' | |
type: string | |
required: false | |
ref-zenml: | |
description: 'Branch or tag ref to check out for ZenML' | |
type: string | |
required: false | |
workflow_call: | |
inputs: | |
ref-template: | |
description: 'Branch or tag ref to check out for template' | |
type: string | |
required: false | |
ref-zenml: | |
description: 'Branch or tag ref to check out for ZenML' | |
type: string | |
required: false | |
push: | |
branches: ["main", "develop"] | |
paths-ignore: ["README.md"] | |
pull_request: | |
paths-ignore: ["README.md"] | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
stack-name: [local] | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
env: | |
ZENML_DEBUG: true | |
ZENML_ANALYTICS_OPT_IN: false | |
ZENML_LOGGING_VERBOSITY: INFO | |
# fork fix for macos | |
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES | |
UV_HTTP_TIMEOUT: '1500' | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Run tests | |
uses: ./.github/actions/e2e_template_test | |
with: | |
stack-name: ${{ matrix.stack-name }} | |
python-version: ${{ matrix.python-version }} | |
ref-zenml: ${{ inputs.ref-zenml || 'develop' }} | |
ref-template: ${{ inputs.ref-template || github.ref }} |