Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sixianyi0721 committed Jan 17, 2025
1 parent 85437e2 commit 6bd1926
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
zmq chardet pypdf \
pandas sentence_transformers together \
aiosqlite groq fireworks-ai \
pytest-asyncio
pytest-asyncio pytest_html
# - name: Install Ollama
# run: |
Expand All @@ -69,7 +69,7 @@ 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=github_ci_test_config.yaml
pytest ${{ github.workspace }}/llama_stack/providers/tests/ -k "fireworks and together"
# - name: Upload pytest test results
# uses: actions/upload-artifact@v4
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ jobs:
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY }}
steps:
- name: Integration tests
working-directory: "${{ github.workspace }}"
run: |
pip install pytest_html
pytest ../../llama_stack/providers/tests/ -k "fireworks and together"
# - uses: actions/checkout@v4
# with:
# persist-credentials: false
Expand Down Expand Up @@ -241,10 +247,3 @@ jobs:
# pip install pytest nbval
# llama stack build --template together --image-type venv
# pytest -v -s --nbval-lax ./docs/notebooks/Llama_Stack_Building_AI_Applications.ipynb
- name: Integration tests
working-directory: "${{ github.workspace }}"
run: |
pip install pytest_html
export FIREWORKS_API_KEY=${{ secrets.FIREWORKS_API_KEY }}
export TOGETHER_API_KEY=${{ secrets.TOGETHER_API_KEY }}
pytest ${{ github.workspace }}/llama_stack/providers/tests/ -k "fireworks and together" --config=github_ci_test_config.yaml

0 comments on commit 6bd1926

Please sign in to comment.