Add reference to LLM evaluation page in Prompt Engineering UI docs (#… #1
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: Protos | |
on: | |
pull_request: | |
paths: | |
- mlflow/protos/** | |
- mlflow/java/client/src/main/java/com/databricks/api/proto/** | |
push: | |
branches: | |
- master | |
- branch-[0-9]+.[0-9]+ | |
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: | |
protos: | |
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: ${{ github.event.inputs.repository }} | |
ref: ${{ github.event.inputs.ref }} | |
submodules: recursive | |
- name: Test building Docker image | |
working-directory: dev | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
docker build -t gen-protos -f Dockerfile.protos . | |
docker run --rm gen-protos protoc --version | |
- name: Install dependencies | |
run: | | |
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip -O $HOME/protoc.zip | |
sudo unzip $HOME/protoc.zip -d /tmp/protoc | |
sudo chmod -R 777 /tmp/protoc | |
echo "/tmp/protoc/bin" >> $GITHUB_PATH | |
- name: Run tests | |
run: | | |
./dev/test-generate-protos.sh |