Convert to UV #2
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
# NOTE: This file is auto generated by OpenAPI Generator. | |
# URL: https://openapi-generator.tech | |
# | |
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: codegen_api_client Python package | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up UV ${{ matrix.python-version }} | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
python-version: ${{ matrix.python-version }} | |
- name: Test with pytest | |
run: | | |
uv run pytest --cov=codegen_api_client |