Skip to content

Commit 5f82d16

Browse files
committed
feat: API 2.20.0
1 parent 770ff9d commit 5f82d16

File tree

571 files changed

+52147
-60633
lines changed

Some content is hidden

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

571 files changed

+52147
-60633
lines changed

.github/workflows/python.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
python -m pip install --upgrade pip
2727
pip install flake8 pytest
2828
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
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3536
- name: Test with pytest
3637
run: |
3738
pytest

.gitlab-ci.yml

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
14
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
26

37
stages:
48
- test
59

6-
.tests:
10+
.pytest:
711
stage: test
812
script:
913
- pip install -r requirements.txt
1014
- pip install -r test-requirements.txt
1115
- pytest --cov=flat_api
1216

13-
test-3.6:
14-
extends: .tests
15-
image: python:3.6-alpine
16-
test-3.7:
17-
extends: .tests
17+
pytest-3.7:
18+
extends: .pytest
1819
image: python:3.7-alpine
19-
test-3.8:
20-
extends: .tests
20+
pytest-3.8:
21+
extends: .pytest
2122
image: python:3.8-alpine
22-
test-3.9:
23-
extends: .tests
23+
pytest-3.9:
24+
extends: .pytest
2425
image: python:3.9-alpine
26+
pytest-3.10:
27+
extends: .pytest
28+
image: python:3.10-alpine
29+
pytest-3.11:
30+
extends: .pytest
31+
image: python:3.11-alpine

0 commit comments

Comments
 (0)