Skip to content

Commit 4af99a4

Browse files
committed
feat: regenerate with python-nextgen generator (6.6.0)
1 parent f241b0a commit 4af99a4

File tree

1,147 files changed

+69355
-142384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,147 files changed

+69355
-142384
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/python.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: flat_api Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
#- name: Lint with flake8
30+
# run: |
31+
# # stop the build if there are Python syntax errors or undefined names
32+
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33+
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34+
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
- name: Test with pytest
36+
run: |
37+
pytest

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ stages:
1010
- pip install -r test-requirements.txt
1111
- pytest --cov=flat_api
1212

13-
test-3.5:
14-
extends: .tests
15-
image: python:3.5-alpine
1613
test-3.6:
1714
extends: .tests
1815
image: python:3.6-alpine
@@ -22,3 +19,6 @@ test-3.7:
2219
test-3.8:
2320
extends: .tests
2421
image: python:3.8-alpine
22+
test-3.9:
23+
extends: .tests
24+
image: python:3.9-alpine

0 commit comments

Comments
 (0)