From 57a075e2ef84c9680b7bb7fcae260dba22e816e6 Mon Sep 17 00:00:00 2001 From: Francesco Bartoli Date: Sun, 3 Mar 2024 23:41:01 +0100 Subject: [PATCH] Fix hostname --- .github/workflows/contract-tests.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 908cf21..28f7db6 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -8,17 +8,6 @@ jobs: contract-tests: name: Validate and test the contract of fastgeoapi against the generated pygeoapi OpenAPI document runs-on: ubuntu-latest - # strategy: - # fail-fast: false - # matrix: - # include: - # - { python: "3.10", os: "ubuntu-20.04", session: "contractests" } - # - { python: "3.9", os: "ubuntu-20.04", session: "contractests" } - - # env: - # NOXSESSION: ${{ matrix.session }} - # FORCE_COLOR: "1" - steps: - name: Check out the repository uses: actions/checkout@v4.1.1 @@ -46,25 +35,13 @@ jobs: run: | pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry poetry --version - - # - name: Install Nox - # run: | - # pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - # pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry - # nox --version - - name: Install GDAL run: | sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install gdal-bin libgdal-dev - - # - name: Run Nox - # run: | - # nox --force-color --python=${{ matrix.python }} - - name: Install fastgeoapi and run schemathesis tests run: | poetry install poetry run uvicorn app.main:app --host 0.0.0.0 --port 6000 --reload --loop asyncio & - poetry run st run --checks all "http://localhost:6000/openapi?f=json" + poetry run st run --checks all "http://0.0.0.0:6000/openapi?f=json"