From 28d599085234bfd0b6d6f35729d38d385cc267df Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 8 Oct 2022 19:06:39 +0200 Subject: [PATCH] temporarily disabled our api tests commented out until https://github.com/schemathesis/schemathesis/issues/1614 is fixed --- .github/workflows/server.yml | 57 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index a0bf3bd13..78b43309f 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -79,35 +79,34 @@ jobs: permissions: contents: read packages: write - api-tests: - runs-on: ubuntu-20.04 - services: - mieli: - image: ghcr.io/tum-dev/navigatum-mieli-search:main - # TODO get the tags from ${{ needs.mieli-search-build.outputs.tags }} - ports: - - 7700 - steps: - - uses: actions/checkout@v3.0.0 - - uses: ATiltedTree/setup-rust@v1.0.5 - with: - rust-version: 1.62.1 - - run: pip install httpx # needed until https://github.com/schemathesis/schemathesis/issues/1614 is fixed - - # run project's dependencies - - run: cargo build - working-directory: server - - run: cargo run & - working-directory: server - - # Runs Schemathesis tests with all checks enabled - - uses: schemathesis/action@v1 - with: - token: ${{ secrets.SCHEMATHESIS_TOKEN }} - api-name: navigatum - schema: "./openapi.yaml" - base-url: "http://localhost:8080" - args: "--endpoint='/api/[^f].*'" # disable the feedbacks endpoint + # commented out until https://github.com/schemathesis/schemathesis/issues/1614 is fixed + #api-tests: + # runs-on: ubuntu-20.04 + # services: + # mieli: + # image: ghcr.io/tum-dev/navigatum-mieli-search:main + # # TODO get the tags from ${{ needs.mieli-search-build.outputs.tags }} + # ports: + # - 7700 + # steps: + # - uses: actions/checkout@v3.0.0 + # - uses: ATiltedTree/setup-rust@v1.0.5 + # with: + # rust-version: 1.62.1 + # # run project's dependencies + # - run: cargo build + # working-directory: server + # - run: cargo run & + # working-directory: server + # + # # Runs Schemathesis tests with all checks enabled + # - uses: schemathesis/action@v1 + # with: + # token: ${{ secrets.SCHEMATHESIS_TOKEN }} + # api-name: navigatum + # schema: "./openapi.yaml" + # base-url: "http://localhost:8080" + # args: "--endpoint='/api/[^f].*'" # disable the feedbacks endpoint server-deployment: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest