From 1710615fd81cce9938aa60d488899b48cc14799a Mon Sep 17 00:00:00 2001 From: William Cheng Date: Fri, 31 Mar 2023 22:40:23 +0800 Subject: [PATCH] fix python nextgen github workflow (#15092) --- .../main/resources/python-nextgen/github-workflow.mustache | 6 +++--- .../echo_api/python-nextgen/.github/workflows/python.yml | 6 +++--- .../python-nextgen-aiohttp/.github/workflows/python.yml | 6 +++--- .../petstore/python-nextgen/.github/workflows/python.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/github-workflow.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/github-workflow.mustache index 2698fdd76e5..d7e9a2017de 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/github-workflow.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/github-workflow.mustache @@ -16,12 +16,12 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] - steps:s + steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }}s + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -35,4 +35,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest \ No newline at end of file + pytest diff --git a/samples/client/echo_api/python-nextgen/.github/workflows/python.yml b/samples/client/echo_api/python-nextgen/.github/workflows/python.yml index 75e792da558..9c031b37f5a 100644 --- a/samples/client/echo_api/python-nextgen/.github/workflows/python.yml +++ b/samples/client/echo_api/python-nextgen/.github/workflows/python.yml @@ -15,12 +15,12 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] - steps:s + steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }}s + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -34,4 +34,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest \ No newline at end of file + pytest diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/.github/workflows/python.yml b/samples/openapi3/client/petstore/python-nextgen-aiohttp/.github/workflows/python.yml index 28a13b8f38e..3cef12d7476 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/.github/workflows/python.yml +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/.github/workflows/python.yml @@ -15,12 +15,12 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] - steps:s + steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }}s + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -34,4 +34,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest \ No newline at end of file + pytest diff --git a/samples/openapi3/client/petstore/python-nextgen/.github/workflows/python.yml b/samples/openapi3/client/petstore/python-nextgen/.github/workflows/python.yml index 28a13b8f38e..3cef12d7476 100644 --- a/samples/openapi3/client/petstore/python-nextgen/.github/workflows/python.yml +++ b/samples/openapi3/client/petstore/python-nextgen/.github/workflows/python.yml @@ -15,12 +15,12 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] - steps:s + steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }}s + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -34,4 +34,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest \ No newline at end of file + pytest