Commit 6387f0e8 authored by w-e-w's avatar w-e-w
Browse files

update workflow kill test server

parent 5be6c026
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ jobs:
          python -m pytest -vv --junitxml=test/results.xml --cov . --cov-report=xml --verify-base-url test
      - name: Kill test server
        if: always()
        run: curl -vv -XPOST http://127.0.0.1:7860/_stop && sleep 10
        run: curl -vv -XPOST http://127.0.0.1:7860/sdapi/v1/server-terminate && sleep 10
      - name: Show coverage
        run: |
          python -m coverage combine .coverage*