From bb121d36cfb4aa7a6a9af36d8c92436b1caccbd7 Mon Sep 17 00:00:00 2001 From: Francesco Bartoli Date: Mon, 26 Feb 2024 12:07:02 +0000 Subject: [PATCH] Split validation steps for openapi --- .github/workflows/openapi.yml | 70 +++++++++++++++++------------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 5e9a211..b89b7c0 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -28,33 +28,33 @@ jobs: pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry poetry --version - - name: Install fastgeoapi CLI - run: | - poetry install - poetry run fastgeoapi openapi + # - name: Install fastgeoapi CLI + # run: | + # poetry install + # poetry run fastgeoapi openapi spectral-oas: runs-on: ubuntu-latest needs: build steps: # Check out the repository - - name: Check out the repository - uses: actions/checkout@v4.1.1 + # - name: Check out the repository + # uses: actions/checkout@v4.1.1 - - name: Set up Python 3.10 - uses: actions/setup-python@v5.0.0 - with: - python-version: "3.10" + # - name: Set up Python 3.10 + # uses: actions/setup-python@v5.0.0 + # with: + # python-version: "3.10" - - name: Upgrade pip - run: | - pip install --constraint=.github/workflows/constraints.txt pip - pip --version + # - name: Upgrade pip + # run: | + # pip install --constraint=.github/workflows/constraints.txt pip + # pip --version - - name: Install Poetry - run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry - poetry --version + # - name: Install Poetry + # run: | + # pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + # poetry --version - name: Install fastgeoapi CLI run: | @@ -77,23 +77,23 @@ jobs: needs: build steps: # Check out the repository - - name: Check out the repository - uses: actions/checkout@v4.1.1 - - - name: Set up Python 3.10 - uses: actions/setup-python@v5.0.0 - with: - python-version: "3.10" - - - name: Upgrade pip - run: | - pip install --constraint=.github/workflows/constraints.txt pip - pip --version - - - name: Install Poetry - run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry - poetry --version + # - name: Check out the repository + # uses: actions/checkout@v4.1.1 + + # - name: Set up Python 3.10 + # uses: actions/setup-python@v5.0.0 + # with: + # python-version: "3.10" + + # - name: Upgrade pip + # run: | + # pip install --constraint=.github/workflows/constraints.txt pip + # pip --version + + # - name: Install Poetry + # run: | + # pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + # poetry --version - name: Install fastgeoapi CLI run: |