Skip to content

Commit

Permalink
Split validation steps for openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
francbartoli committed Feb 26, 2024
1 parent d208737 commit bb121d3
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
# - name: Check out the repository
# uses: actions/[email protected]

- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: "3.10"
# - name: Set up Python 3.10
# uses: actions/[email protected]
# 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: |
Expand All @@ -77,23 +77,23 @@ jobs:
needs: build
steps:
# Check out the repository
- name: Check out the repository
uses: actions/[email protected]

- name: Set up Python 3.10
uses: actions/[email protected]
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/[email protected]

# - name: Set up Python 3.10
# uses: actions/[email protected]
# 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: |
Expand Down

0 comments on commit bb121d3

Please sign in to comment.