Skip to content

Commit 2cf9112

Browse files
Merge pull request #81 from MarcoMuellner/80-modulenotfounderror-no-module-named-yaml
feat: Added test matrix for multiple versions
2 parents 90643ec + 6b820c1 commit 2cf9112

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ on:
1111
jobs:
1212
tests:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
17+
fail-fast: false
18+
1419
steps:
1520
- uses: actions/checkout@v3
1621
- uses: actions/setup-python@v3
1722
with:
18-
python-version: 3.9
23+
python-version: ${{ matrix.python-version }}
1924
architecture: x64
2025
- run: pip install poetry==1.3.1
2126
- run: poetry install
@@ -30,6 +35,6 @@ jobs:
3035
fail_ci_if_error: true
3136
files: ./coverage.xml
3237
flags: unittests
33-
name: codecov-umbrella
34-
path_to_write_report: .codecov_report.txt
35-
verbose: true
38+
name: codecov-umbrella-${{ matrix.python-version }}
39+
path_to_write_report: .codecov_report.${{ matrix.python-version }}.txt
40+
verbose: true

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openapi-python-generator"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "Openapi Python Generator"
55
authors = ["Marco Müllner <[email protected]>"]
66
license = "MIT"
@@ -26,6 +26,7 @@ click = "^8.1.3"
2626
black = ">=21.10b0"
2727
isort = ">=5.10.1"
2828
openapi-pydantic = "^0.5.0"
29+
pyyaml = "^6.0.2"
2930

3031
[tool.poetry.dev-dependencies]
3132
Pygments = ">=2.10.0"

0 commit comments

Comments
 (0)