mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
Python 3.12 has been released in October 2023, it should be tested in the CI. Python 3.7 is not maintained anymore, removing it from the minimum required version in `pyproject.toml` files.
28 lines
634 B
YAML
28 lines
634 B
YAML
name: Python Server
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- samples/server/petstore/python-aiohttp-srclayout/**
|
|
pull_request:
|
|
paths:
|
|
- samples/server/petstore/python-aiohttp-srclayout/**
|
|
jobs:
|
|
build:
|
|
name: Test Python server
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
# servers
|
|
- samples/server/petstore/python-aiohttp-srclayout/
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.9'
|
|
- name: Test
|
|
working-directory: ${{ matrix.sample }}
|
|
run: make test-all
|