Skip to content

Commit

Permalink
Move test submodule import separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jan 24, 2025
1 parent 55a728f commit 0c4d06a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-with-optional-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ jobs:
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
fi
- name: Test with pytest using optional dependency marks
- name: Test import all submodules
run: |
uv pip install --system "requests<2.32.0"
bash scripts/test.sh test/test_import.py
- name: Test with pytest using optional dependency marks
run: |
OPTIONAL_DEPENDENCIES="${{ matrix.optional-dependencies }}"
MARKER="${OPTIONAL_DEPENDENCIES//-/_}"
bash scripts/test.sh -m "$MARKER and not openai"
Expand Down

0 comments on commit 0c4d06a

Please sign in to comment.