Skip to content

Dev environment setup #42

Dev environment setup

Dev environment setup #42

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"
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: ""
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || 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/mlflow'
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
repository: ${{ 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