Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sixianyi0721 committed Jan 16, 2025
1 parent 5757d4b commit d3a086e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
echo "Repository root: ${{ github.workspace }}"
echo "Branch: ${{ github.ref }}"
echo "List of tests"
pytest ${{ github.workspace }}/llama_stack/providers/tests/ -k "fireworks and together" --config=ci_test_config.yaml
pytest ${{ github.workspace }}/llama_stack/providers/tests/ -k "fireworks and together" --config=github_ci_test_config.yaml
- name: Upload pytest test results
uses: actions/upload-artifact@v4
with:
name: pytest_report.md
path: pytest_report.md
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}
# - name: Upload pytest test results
# uses: actions/upload-artifact@v4
# with:
# name: pytest_report.md
# path: pytest_report.md
# # Use always() to always run this step to publish test results when there are test failures
# if: ${{ always() }}
28 changes: 28 additions & 0 deletions llama_stack/providers/tests/github_ci_test_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
inference:
tests:
- inference/test_vision_inference.py::test_vision_chat_completion_streaming
- inference/test_vision_inference.py::test_vision_chat_completion_non_streaming
- inference/test_text_inference.py::test_structured_output
- inference/test_text_inference.py::test_completion
- inference/test_text_inference.py::test_chat_completion_streaming
- inference/test_text_inference.py::test_chat_completion_non_streaming
- inference/test_text_inference.py::test_chat_completion_with_tool_calling
- inference/test_text_inference.py::test_chat_completion_with_tool_calling_streaming

fixtures:
provider_fixtures:
- default_fixture_param_id: fireworks
- inference: together

inference_models:
- meta-llama/Llama-3.1-8B-Instruct
- meta-llama/Llama-3.2-11B-Vision-Instruct

safety_shield: ~
embedding_model: ~


agent: ~


memory: ~

0 comments on commit d3a086e

Please sign in to comment.