Skip to content

Automatically update python client (ref: Cosmo-Tech/cosmotech-api@be3… #96

Automatically update python client (ref: Cosmo-Tech/cosmotech-api@be3…

Automatically update python client (ref: Cosmo-Tech/cosmotech-api@be3… #96

Workflow file for this run

# PROD-14252: Temporary workaround for the upstream bug
# (https://github.com/OpenAPITools/openapi-generator/pull/20701) of the
# openapi-generator. This file will replace the generated one and can
# be removed when the upstream bug is fixed (PR #20701)
name: cosmotech_api 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 Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Test with pytest
run: |
pytest --cov=cosmotech_api