Skip to content

Add UCFunctionToolkit Langchain dependency (#12966) #1

Add UCFunctionToolkit Langchain dependency (#12966)

Add UCFunctionToolkit Langchain dependency (#12966) #1

Workflow file for this run

name: Dev environment setup
on:
push:
paths:
- "dev/dev-env-setup.sh"
- "dev/test-dev-env-setup.sh"
- ".github/workflows/dev-setup.yml"
pull_request:
paths:
- "dev/dev-env-setup.sh"
- "dev/test-dev-env-setup.sh"
- ".github/workflows/dev-setup.yml"
schedule:
- cron: "42 7 * * 0"
workflow_dispatch:
inputs:
repository:
description: >
[Optional] Repository name with owner. For example, mlflow/mlflow.
Defaults to the repository that triggered a workflow.
required: false
default: ""
ref:
description: >
[Optional] The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,
uses the default branch.
required: false
default: ""
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
jobs:
linux-env-setup:
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.event_name != 'schedule' || github.repository == 'mlflow-automation/mlflow'
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/free-disk-space
with:
submodules: recursive
repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}
ref: ${{ github.event.inputs.ref }}
- name: Setup environment
run: |
git config --global user.name "test"
git config --global user.email "[email protected]"
- name: Run Environment tests
run: |
TERM=xterm bash ./dev/test-dev-env-setup.sh