forked from loafle/openapi-generator-original
* Fix referenced path for tests * Explicit dependencies Flask 2.3 has breaking changes * Marks all async tests with pytest.mark.asyncio Otherwise they are skipped by pytest and coverage is zero * Fix path for pytest On suggestion from https://github.com/OpenAPITools/openapi-generator/pull/17060#discussion_r1392666369
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@v4
|
|
with:
|
|
python-version: '3.7'
|
|
- name: Test
|
|
working-directory: ${{ matrix.sample }}
|
|
run: make test-all
|