feat: add poetry.lock to uv migration #1204
This file contains 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: Run Tests | |
on: [pull_request] | |
permissions: | |
contents: write | |
env: | |
OPENAI_API_KEY: fake-api-key | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
- name: Set up Python | |
run: uv python install 3.11.9 | |
- name: Install the project | |
run: uv sync --dev | |
- name: Run tests | |
run: uv run pytest tests |