Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix codeblocks
Browse files Browse the repository at this point in the history
jverre committed Jan 12, 2025
1 parent b507c0d commit 05c2fbd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/documentation_codeblock_tests.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ on:
install_opik:
description: 'Enable opik installation from source files'
required: false
default: 'false'
default: 'true'
type: choice
options:
- 'false'
@@ -52,6 +52,11 @@ jobs:
test:
needs: collect_test_paths
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.DOCS_OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPIK_WORKSPACE: ${{ secrets.COMET_WORKSPACE }}
OPIK_API_KEY: ${{ secrets.COMET_API_KEY }}
strategy:
matrix:
path: ${{ fromJson(needs.collect_test_paths.outputs.test_paths) }}
@@ -70,7 +75,7 @@ jobs:
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
if [ "${{ github.event.inputs.install_opik }}" = "true" ] || [ "${{ github.event_name }}" = "pull_request" ]; then
if [ "${{ github.event.inputs.install_opik }}" != "false" ]; then
pip install -e ../../../sdks/python
fi

0 comments on commit 05c2fbd

Please sign in to comment.