From b36c6a8561ea96f875811dbb4a878b573a750eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CDorokhin?= <“ekonom82@inbox.ru”> Date: Sun, 2 Jun 2024 16:57:35 +0300 Subject: [PATCH] updated test.yaml by adding Swagger API Coverage --- .github/workflows/test.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1560756..94834c1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -118,3 +118,16 @@ jobs: github_token: ${{ secrets.GH_TOKEN }} publish_branch: gh-pages publish_dir: allure-history + + - name: Run Swagger coverage + if: always() + run: .swagger-coverage-commandline/bin/swagger-coverage-commandline -s http://$HOST:8111/app/rest/swagger.json -i target/swagger-coverage-output + + - name: Save Swagger coverage + uses: actions/upload-artifact@v4 + if: always() + with: + name: swagger-coverage + path: | + swagger-coverage-report.html + swagger-coverage-results.json \ No newline at end of file