Baseten Dynamic Model APIs Validation #28358
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Package | |
# Build package on its own without additional pip install | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 1 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
- name: Set up Python | |
run: uv python install | |
- name: Display Python version | |
run: python --version | |
- name: Build | |
run: uv build | |
- name: Test installing built package | |
shell: bash | |
run: | | |
uv venv | |
uv pip install dist/*.whl | |
- name: Test import | |
working-directory: ${{ vars.RUNNER_TEMP }} | |
run: uv run -- python -c "import llama_index" |