Skip to content

Commit

Permalink
Github action booleans magic
Browse files Browse the repository at this point in the history
  • Loading branch information
ViStefan committed Nov 26, 2024
1 parent 137981d commit 98bea3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ jobs:
run: poetry run pip install -r requirements-extra.txt

- name: Install minimal dependencies
if: inputs.minimal-only == 'true'
if: ${{ inputs.minimal-only }}
run: poetry install --no-interaction

- name: Install dependencies
if: inputs.minimal-only == 'false'
if: ${{ !inputs.minimal-only }}
run: poetry install --no-interaction --all-extras

- name: Run minimal integration tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TIKTOKEN_CACHE_DIR: tests/itest_cache/tiktoken_cache
if: inputs.minimal-only == 'true'
if: ${{ inputs.minimal-only }}
run: poetry run python tests/run_integration_tests.py --minimal-only --os ${{ runner.os }}

- name: Run integration tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TIKTOKEN_CACHE_DIR: tests/itest_cache/tiktoken_cache
if: inputs.minimal-only == 'false'
if: ${{ inputs.minimal-only }}
run: poetry run python tests/run_integration_tests.py --os ${{ runner.os }}

0 comments on commit 98bea3c

Please sign in to comment.