Skip to content

Commit 13e9815

Browse files
authored
Update generator to v7.5.0 (BREAKING) (#228)
* chore: Update generator to v7.5.0 * chore: Apply new generator version * chore: Update python workflow
1 parent dfef6eb commit 13e9815

File tree

430 files changed

+53197
-19418
lines changed

Some content is hidden

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

430 files changed

+53197
-19418
lines changed

.github/workflows/python.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: pfruck_contabo 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.8", "3.9", "3.10", "3.11", "3.12"]
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+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
29+
30+
- name: Run unittests
31+
run: |
32+
python3 -m unittest

.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=pfruck_contabo
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)